Classe AddDeploymentAdministratorRequest
S'applique à: CRM 2015 on-prem, CRM Online
Contains the data that is needed to add a deployment administrator. The user must already exist in Active Directory.
Espace de noms: Microsoft.Xrm.Sdk.Deployment
Assembly: Microsoft.Xrm.Sdk.Deployment (dans Microsoft.Xrm.Sdk.Deployment.dll)
Syntaxe
'Déclaration
<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
Exemple
// The user must already exist in AD.
AddDeploymentAdministratorRequest request = new AddDeploymentAdministratorRequest();
request.Name = Config.AdminDomain + "\\" + userName;
_deploymentService.Execute(request);
Remarques
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 PowerShel.
Hiérarchie d'héritage
System.Object
Microsoft.Xrm.Sdk.Deployment.DeploymentServiceRequest
Microsoft.Xrm.Sdk.Deployment.AddDeploymentAdministratorRequest
Cohérence de thread
Tous les membres statiques publics (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres d'instance ne sont pas garantis thread-safe.
Plateformes
Plateformes de développement
Windows Vista, Windows Server 2003 et
Plateformes cibles
Windows 98,Windows 2000,Windows 2000 Server,Windows CE,Windows Server 2008,Windows 98 Deuxième Édition,Pocket PC,Smart Phone,Windows Server 2003,Windows XP Professionnel,Windows Vista,Windows XP
Change History
Voir aussi
Référence
Membres AddDeploymentAdministratorRequest
Espace de noms Microsoft.Xrm.Sdk.Deployment
AddDeploymentAdministratorResponse
Autres ressources
Deployment Web Service Messages
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.