Microsoft Internet Security and Acceleration Server 2004 SDK

IFPCDelegatedAdmins::Item[C++]

FPCDelegatedAdmins.Item [Visual Basic]

[C++]

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

HRESULT Item(
  VARIANT IndexOrAccount,
  BSTR Role,
  IFPCDelegatedAdmin** ppItem
);

Parameters

IndexOrAccount
[in] Required. Account name or one-based index of the object to retrieve.
Role
[in, optional] Role of the delegated administrator. The default value is an empty string (NULL).
ppItem
[out] Address of an interface pointer that on return points to the IFPCDelegatedAdmin interface requested.

Return Values

This method can return one of the following:

[Visual Basic]

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

Function Item( _
  ByVal IndexOrAccount As Variant, _
  [ ByVal Role As String ] _
) As FPCDelegatedAdmin

Parameters

IndexOrAccount
[in] Required. Account name or one-based index of the object to retrieve.
Role
[in, optional] Role of the delegated administrator. The default value is an empty string (NULL).

Return Values

This method returns a reference to the FPCDelegatedAdmin object requested 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

FPCDelegatedAdmins