The Item method retrieves the requested FPCAccount object (IFPCAccount interface in C++) from the collection.
HRESULT Item( [in] VARIANT v, [out] IFPCAccount** pItem );
Required. Account name or one-based index of the object to retrieve. The account name can be specified in the domain\user-name format.
Address of an interface pointer that on return points to the IFPCAccount interface requested.
Function Item( _ ByVal v As Variant _ ) As FPCAccount
Required. Account name or one-based index of the object to retrieve. The account name can be specified in the domain\user-name format.
This method returns a reference to the FPCAccount object requested if successful. Otherwise, an error is raised that can be intercepted by using an error handler.
Dim accounts As FPCAccounts ... accounts.Item("africa\john")
The Index parameter can be either in the form of a one-based index or an account name specified in the domain\user-name format.
Client | Requires Windows Vista or Windows XP. |
---|---|
Server | Requires Windows Server 2008. |
Version | Requires Forefront Threat Management Gateway (TMG). |
IDL |
Declared in Msfpccom.idl. |
DLL |
Requires Msfpccom.dll. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.