Microsoft Internet Security and Acceleration Server 2004 SDK

IFPCLogContent::ItemAsync[C++]

FPCLogContent.ItemAsync [Visual Basic]

[C++]

The ItemAsync method retrieves the requested IFPCLogEntry interface from the collection if it is available, returns E_PENDING if the requested interface cannot be found immediately, or returns an error code if the operation fails of another error occurs.

HRESULT ItemAsync(
  long index,
  IFPCLogEntry** ppItem
);

Parameters

index
[in] Required. One-based index of the object to retrieve.
ppItem
[out] Address of an interface pointer that on return points to the IFPCLogEntry interface requested if the call is successful, or to a null interface if the requested interface cannot be found or the operation fails.

Return Values

This method can return one of the following:

If the return value is not S_OK, the [out] parameter returned is a null object.
[Visual Basic]

The ItemAsync method retrieves the requested FPCLogEntry object from the collection if it is available, returns null and sets the error code to E_PENDING if the requested object cannot be found immediately, or returns null and sets an error code if the operation fails or another error occurs.

Function ItemAsync( _
  ByVal index As Long _
) As FPCLogEntry

Parameters

index
[in] Required. One-based index of the object to retrieve.

Return Values

This method returns a reference to the FPCLogEntry object requested if successful. Otherwise, it returns null and raises an error that can be intercepted by using an error handler. The error code set can be one of the following:

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

FPCLogContent