AddDeploymentAdministratorRequest-klasse
Contains the data that is needed to add a deployment administrator. The user must already exist in Active Directory.
Navneområde: Microsoft.Xrm.Sdk.Deployment
Assembly: Microsoft.Xrm.Sdk.Deployment (i Microsoft.Xrm.Sdk.Deployment.dll)
Syntaks
'Deklaration
<DebuggerStepThroughAttribute> _
<GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")> _
<DataContractAttribute(Name:="AddDeploymentAdministratorRequest", Namespace:="https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")> _
Public Class AddDeploymentAdministratorRequest
Inherits DeploymentServiceRequest
[DebuggerStepThroughAttribute]
[GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
[DataContractAttribute(Name="AddDeploymentAdministratorRequest", Namespace="https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")]
public class AddDeploymentAdministratorRequest : DeploymentServiceRequest
Eksempel
// The user must already exist in AD.
AddDeploymentAdministratorRequest request = new AddDeploymentAdministratorRequest();
request.Name = Config.AdminDomain + "\\" + userName;
_deploymentService.Execute(request);
Bemærkninger
Usage
Pass an instance of this class to the Execute method, which returns an instance of AddDeploymentAdministratorResponse.
Notes for Callers
You can also use the New-CrmDeploymentAdministratorWindows PowerShell command. For more information, see Administer the deployment using Windows PowerShell.
Nedarvningshierarki
System.Object
Microsoft.Xrm.Sdk.Deployment.DeploymentServiceRequest
Microsoft.Xrm.Sdk.Deployment.AddDeploymentAdministratorRequest
Sikkerhed i tråd
Alle offentlige statiske (Shared i Visual Basic) medlemmer af denne type er trådsikret. Alle medlemmer af forekomsten er ikke garanteret trådsikkerhed.
Platforme
Development Platforms
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Target Platforms
Windows 98,Windows 2000,Windows 2000 Server,Windows CE,Windows Server 2008,Windows 98 Second Edition,Pocket PC,Smartphone,Windows Server 2003,Windows XP Professional,Windows Server 2008,Windows Server 2012,Windows 7,Windows 8,Windows 8.1
Change History
Se også
Reference
AddDeploymentAdministratorRequest-medlemmer
Microsoft.Xrm.Sdk.Deployment-navneområde
AddDeploymentAdministratorResponse
Andre ressourcer
Deployment Web Service Messages
New-CrmDeploymentAdministrator
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.