The ExistsScopedItem method returns a Boolean value that indicates whether the collection contains an FPCRef object that references an item with the specified scope and name. The scope indicates whether the referenced item is defined for the array or for the enterprise.
HRESULT ExistsScopedItem( [in] FpcItemScope Scope, [in] BSTR Name, [out] VARIANT_BOOL* pfExits );
Required. Value from the FpcItemScope enumerated type that specifies the scope of the referenced item.
Pointer to a Boolean variable that is set on return to VARIANT_TRUE if the collection contains an object with the specified scope and name, or to VARIANT_FALSE if the collection does not contain an object with the specified scope and name.
This method returns S_OK if the call is successful; otherwise, it returns an error code.
Function ExistsScopedItem( _ ByVal Scope As FpcItemScope, _ ByVal Name As String _ ) As Boolean
Required. Value from the FpcItemScope enumerated type that specifies the scope of the referenced item.
Boolean value that is set to True if the collection contains an object with the name specified, or to False if the collection does not contain an object with the name specified.
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.