Microsoft Internet Security and Acceleration Server 2000

FPCRefs.Exists Method

Returns TRUE if an object that has the specified properties exists in the collection.

VBScript Syntax[VBScript]

[ bExists = ] FPCRefs.Exists ( sName, sApplicationFilterGuid, Scope )

C++ Syntax[C++]

HRESULT Exists(
  BSTR sName, 
  BSTR sApplicationFilterGuid, 
  FpcItemScope Scope,
  VARIANT_BOOL *bExists
);

Parameters

sName
Required. String that specifies the name of the object.
sApplicationFilterGuid
Optional. String that specifies the GUID of the application filter if the object represents an application filter protocol.
Scope
Optional. A value from the FpcItemScope enumerated type. Has a default value of fpcArrayScope.

Return Values

bExists
A Boolean value that indicates whether an object that has the specified properties exists in the collection.

Remarks

Here is a VBScript example of how this method can be used. If the protocol "Archie" exists in ISA on the enterprise level, the following statement will return "TRUE".

FPC.GetContainingArray.ArrayPolicy.ProtocolRules(1).SpecifiedProtocols.Exists("Archie", "", fpcEnterpriseScope) 

Applies To

FPCRefs