Controller. Transfer Role Ownership(ActiveDirectoryRole) Method
Causes ownership of the specified role to be transferred to this domain controller.
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)
One of the ActiveDirectoryRole members that specifies which role will be transferred to this domain controller.
role is not valid.
The current object has been disposed.