DomainController.TransferRoleOwnership(ActiveDirectoryRole) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
Parameters
- role
- ActiveDirectoryRole
One of the ActiveDirectoryRole members that specifies which role will be transferred to this domain controller.
Exceptions
role
is not valid.
The current object has been disposed.
Applies to
See also
Col·laboreu amb nosaltres a GitHub
La font d'aquest contingut es pot trobar al GitHub, on també podeu crear i revisar problemes i sol·licituds d'extracció. Per obtenir més informació, consulteu la nostra guia per a col·laboradors.