Microsoft Internet Security and Acceleration Server 2004 SDK

IFPCIPAddresses::Item[C++]

FPCIPAddresses.Item [Visual Basic]

[C++]

The Item method retrieves the requested IP address from the collection.

HRESULT Item(
  VARIANT Index,
  BSTR* pItem
);

Parameters

Index
[in] Required. One-based index of the IP address to retrieve.
pItem
[out] Pointer to a BSTR that is set on return to a string value specifying the IP address requested.

Return Values

The method can return one of the following:

[Visual Basic]

The Item method retrieves the requested IP address from the collection.

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

Parameters

Index
[in] Required. One-based index of the IP address to retrieve.

Return Values

The method returns a string that specifies the IP address 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

FPCIPAddresses