ExistsScopedItem Method of the IFPCEERefs Interface

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.

[C++]

Syntax

HRESULT ExistsScopedItem(
  [in]   FpcItemScope Scope,
  [in]   BSTR Name,
  [out]  VARIANT_BOOL* pfExits
);

Parameters

Scope

Required. Value from the FpcItemScope enumerated type that specifies the scope of the referenced item.

Name
Required. BSTR that specifies the name of the referenced item.
pfExits

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.

Return Value

This method returns S_OK if the call is successful; otherwise, it returns an error code.

[Visual Basic]

Syntax

Function ExistsScopedItem( _
  ByVal Scope As FpcItemScope, _
  ByVal Name As String _
) As Boolean

Parameters

Scope

Required. Value from the FpcItemScope enumerated type that specifies the scope of the referenced item.

Name
Required. String that specifies the name of the referenced item.

Return Value

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.

Requirements

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.

See Also

FPCRefs


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.

508 Resource Limit Is Reached

Resource Limit Is Reached

The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.