共用方式為


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 成員,可指定將轉移到此網域控制站的角色。

例外狀況

目前的物件已經處置。

適用於

另請參閱