internal void MoveOperationMasterRole(ADOperationMasterRole operationMasterRole, bool seize, out bool wasSeized)
        {
            this.Init();
            MoveADOperationMasterRoleRequest moveADOperationMasterRoleRequest = new MoveADOperationMasterRoleRequest();

            moveADOperationMasterRoleRequest.Seize = seize;
            ADOperationMasterRole aDOperationMasterRole = operationMasterRole;

            switch (aDOperationMasterRole)
            {
            case ADOperationMasterRole.PDCEmulator:
            {
                moveADOperationMasterRoleRequest.OperationMasterRole = ActiveDirectoryOperationMasterRole.PDCEmulator;
                break;
            }

            case ADOperationMasterRole.RIDMaster:
            {
                moveADOperationMasterRoleRequest.OperationMasterRole = ActiveDirectoryOperationMasterRole.RIDMaster;
                break;
            }

            case ADOperationMasterRole.InfrastructureMaster:
            {
                moveADOperationMasterRoleRequest.OperationMasterRole = ActiveDirectoryOperationMasterRole.InfrastructureMaster;
                break;
            }

            case ADOperationMasterRole.SchemaMaster:
            {
                moveADOperationMasterRoleRequest.OperationMasterRole = ActiveDirectoryOperationMasterRole.SchemaMaster;
                break;
            }

            case ADOperationMasterRole.DomainNamingMaster:
            {
                moveADOperationMasterRoleRequest.OperationMasterRole = ActiveDirectoryOperationMasterRole.DomainNamingMaster;
                break;
            }
            }
            MoveADOperationMasterRoleResponse moveADOperationMasterRoleResponse = this._topoMgmt.MoveADOperationMasterRole(this._sessionHandle, moveADOperationMasterRoleRequest);

            wasSeized = moveADOperationMasterRoleResponse.WasSeized;
        }
        MoveADOperationMasterRoleResponse Microsoft.ActiveDirectory.Management.IADTopologyManagement.MoveADOperationMasterRole(ADSessionHandle handle, MoveADOperationMasterRoleRequest request)
        {
            MoveADOperationMasterRoleResponse moveADOperationMasterRoleResponse = null;
            ADDirectoryServiceConnection      internalHandle = this.GetInternalHandle(handle);

            if (internalHandle != null)
            {
                moveADOperationMasterRoleResponse = internalHandle.MoveADOperationMasterRole(request);
            }
            return(moveADOperationMasterRoleResponse);
        }