Microsoft Internet Security and Acceleration Server 2000

FPCDeniedMethods.Add Method

Creates a new FPCDeniedMethod object, inserts it into the collection, and returns a reference to it.

VBScript Syntax[VBScript]

[ oFPCDeniedMethod = ] FPCDeniedMethods.Add( sDeniedMethod )

C++ Syntax[C++]

HRESULT Add(
  BSTR sDeniedMethod,
  IFPCDeniedMethod **ppoFPCDeniedMethod
);

Parameters

sDeniedMethod
Required. String that specifies the method to be denied.

Return Values

oFPCDeniedMethod
Returns a reference to the FPCDeniedMethod object.

Example

The following excerpt of code adds the method PENCIL to the collection of denied methods.

Set objFPC = CreateObject("FPC.Root")
Set DeniedMethods = objFPC.Arrays.GetContainingArray.ArrayPolicy.WebProxy.DeniedMethods
DeniedMethods.Add ("PENCIL")
DeniedMethods.Save

Applies To

FPCDeniedMethods