Exists Method of the IFPCRefs Interface

The Exists method returns a Boolean value that indicates whether the collection contains an FPCRef object that references the specified item.

[C++]

Syntax

HRESULT Exists(
  [in]   BSTR Name,
  [out]  VARIANT_BOOL* pfExits
);

Parameters

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 a reference to the specified item, or to VARIANT_FALSE if the collection does not contain a reference to the specified item.

Return Value

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

[Visual Basic]

Syntax

Function Exists( _
  ByVal Name As String _
) As Boolean

Parameters

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 FPCRef object that references the specified item, or to False if the collection does not contain FPCRef object that references the specified item.

Remarks

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.

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.