Microsoft Internet Security and Acceleration Server 2004 SDK

IFPCRefs::Exists[C++]

FPCRefs.Exists [Visual Basic]

[C++]

The Exists method returns a Boolean value that indicates whether the collection contains an object with the name specified.

HRESULT Exists(
  BSTR Name,
  VARIANT_BOOL* pfExits
);

Parameters

Name
[in] Required. BSTR that specifies the name of the object.
pfExits
[out] Pointer to a Boolean variable that is set on return to VARIANT_TRUE if the collection contains an object with the name specified, or to VARIANT_FALSE if the collection does not contain an object with the name specified.

Return Values

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

[Visual Basic]

The Exists method returns a Boolean value that indicates whether the collection contains an object with the name specified.

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

Parameters

Name
[in] Required. String that specifies the name of the object.

Return Values

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

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCRefs