The Exists method returns a Boolean value that indicates whether the collection contains an FPCRef object that references the specified item.
HRESULT Exists( [in] BSTR Name, [out] VARIANT_BOOL* pfExits );
Pointer to a Boolean variable that is set on return to VARIANT_TRUE if the collection contains a reference to the specified item, or to VARIANT_FALSE if the collection does not contain a reference to the specified item.
This method returns S_OK if the call is successful; otherwise, it returns an error code.
Function Exists( _ ByVal Name As String _ ) As Boolean
Boolean value that is set to True if the collection contains an FPCRef object that references the specified item, or to False if the collection does not contain FPCRef object that references the specified item.
This method determines whether the collection contains an FPCRef object that references an item with the specified name with the same scope (array or enterprise) as the object through which the FPCRefs collection was accessed. The ExistsScopedItem method can be used to determine whether the collection contains an FPCRef object that references an item with a specified scope.
Client | Requires Windows Vista or Windows XP. |
---|---|
Server | Requires Windows Server 2008. |
Version | Requires Forefront Threat Management Gateway (TMG). |
IDL |
Declared in Msfpccom.idl. |
DLL |
Requires Msfpccom.dll. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.