Microsoft Internet Security and Acceleration Server 2004 SDK

IFPCDelegatedAdmins::Remove[C++]

FPCDelegatedAdmins.Remove [Visual Basic]

[C++]

The Remove method removes the specified FPCDelegatedAdmin object from the collection.

HRESULT Remove(
  VARIANT IndexOrAccount,
  BSTR Role
);

Parameters

IndexOrAccount
[in] Required. Value of the Account property or one-based index of the FPCDelegatedAdmin object to remove.
Role
[in, optional] String value specifying the role of the delegated administrator. The default value is an empty string (NULL).

Return Values

This method returns S_OK if the call is successful; otherwise, it returns an error code.
[Visual Basic]

The Remove method removes the specified FPCDelegatedAdmin object from the collection.

Sub Remove( _
  ByVal IndexOrAccount As Variant, _
  [ ByVal Role As String ] _
)

Parameters

IndexOrAccount
[in] Required. Value of the Account property or one-based index of the FPCDelegatedAdmin object to remove.
Role
[in, optional] String value specifying the role of the delegated administrator. The default value is an empty string (NULL).

Return Values

This method has no return values. If the call is unsuccessful, 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