Microsoft Internet Security and Acceleration Server 2004 SDK

IFPCPolicyRules::Item[C++]

FPCPolicyRules.Item [Visual Basic]

[C++]

The Item method retrieves the requested IFPCPolicyRule interface from the collection.

HRESULT Item(
  VARIANT Index,
  IFPCPolicyRule** ppItem
);

Parameters

Index
[in] Required. Name or one-based index of the collection element to retrieve.
ppItem
[out] Address of an interface pointer that on return points to the IFPCPolicyRule interface requested.

Return Values

This method returns one of the following:

[Visual Basic]

The Item method retrieves the requested FPCPolicyRule object from the collection.

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

Parameters

Index
[in] Required. Name or one-based index of the collection element to retrieve.

Return Values

This method returns a reference to the FPCPolicyRule object requested if the call is 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

FPCPolicyRules