Microsoft Internet Security and Acceleration Server 2004 SDK

IFPCDomainNameSet::Item[C++]

FPCDomainNameSet.Item [Visual Basic]

[C++]

The Item method retrieves the requested domain name from the domain name set.

HRESULT Item(
  VARIANT vIndex,
  BSTR* pbstrItem
);

Parameters

vIndex
[in] Required. Name or one-based index of the domain name to retrieve.
pbstrItem
[out] Pointer to a BSTR that is set on return to a string value specifying the domain name requested.

Return Values

This method can return one of the following:

[Visual Basic]

The Item method retrieves the requested domain name from the domain name set.

Function Item( _
  ByVal vIndex As Variant _
) As String

Parameters

vIndex
[in] Required. Name or one-based index of the domain name to retrieve.

Return Values

This method returns a string that specifies the domain name if successful. Otherwise, an error is raised that can be intercepted by using an error handler.

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

FPCDomainNameSet