共用方式為


IVMSecurity::RemoveEntry method

The RemoveEntry method removes an access control entry. This method removes the specified access control entry.

Syntax

HRESULT RemoveEntry(
  [in] IVMAccessRights *entryToDelete
);

Parameters

entryToDelete [in]

The entry to delete.

Return value

This method supports standard return values, as well as the following. For information on Virtual Server specific return values not listed below, see HRESULT Codes Specific to the Virtual Server.

Return code Description
S_OK
The operation was successful.
S_FALSE
The specified entry has already been deleted or was not found.
E_POINTER
The parameter entryToDelete was null.
DISP_E_EXCEPTION
An unknown error has occurred. Other HRESULT error values may be returned as well.

Requirements

Product
Microsoft Virtual Server 2005 onWindows Server 2003
Download
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003
Header
VsComInterfaces.h

See also

IVMSecurity