DomainController.TransferRoleOwnership(ActiveDirectoryRole) 方法

定义

导致指定角色的所有权转移到此域控制器。

public:
 void TransferRoleOwnership(System::DirectoryServices::ActiveDirectory::ActiveDirectoryRole role);
public void TransferRoleOwnership (System.DirectoryServices.ActiveDirectory.ActiveDirectoryRole role);
member this.TransferRoleOwnership : System.DirectoryServices.ActiveDirectory.ActiveDirectoryRole -> unit
Public Sub TransferRoleOwnership (role As ActiveDirectoryRole)

参数

role
ActiveDirectoryRole

ActiveDirectoryRole 成员之一,它指定转移到此域控制器的角色。

例外

当前对象已被释放。

适用于

另请参阅