Microsoft Internet Security and Acceleration Server 2000

FPCAccounts.Item Method

Gets the given FPCAccount object from the collection.

VBScript Syntax[VBScript]

[ vItem = ] FPCAccounts.Item( vIndex )

C++ Syntax[C++]

HRESULT Item(
  VARIANT vIndex,
  IFPCAccount **pvItem
);

Parameters

vIndex
Required. Name or one-based index of the object to retrieve. Specified in domain\accountname format.

Return Values

vItem
If successful, gets a reference to an object of type FPCAccount; otherwise:

Remarks

The vIndex parameter is in the form of an index or a name. For example, the following code specifies an account by name in domain\accountname format.

FPCAccounts.Item("africa\john")

Applies To

FPCAccounts