Compartir por


Clase de AddDeploymentAdministratorRequest

Se aplica a: 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.

Espacio de nombres: Microsoft.Xrm.Sdk.Deployment
Ensamblado: Microsoft.Xrm.Sdk.Deployment (en Microsoft.Xrm.Sdk.Deployment.dll)

Sintaxis

'Declaración
<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

Ejemplo

// The user must already exist in AD.
AddDeploymentAdministratorRequest request = new AddDeploymentAdministratorRequest();
request.Name = Config.AdminDomain + "\\" + userName;

_deploymentService.Execute(request);

Comentarios

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.

Jerarquía heredada

System.Object
   Microsoft.Xrm.Sdk.Deployment.DeploymentServiceRequest
    Microsoft.Xrm.Sdk.Deployment.AddDeploymentAdministratorRequest

Seguridad de hilo

Los miembros estáticos públicos (Shared en Visual Basic) de este tipo son seguros para el hilo. No se garantiza que los miembros de instancia sean seguros para el hilo.

Plataformas

Plataformas de desarrollo

Windows Vista, Windows Server 2003 y

Plataformas de destino

Windows 98,Windows 2000,Windows 2000 Server,Windows CE,Windows Server 2008,Windows 98 Second Edition,Pocket PC,Teléfono inteligente,Windows Server 2003,Windows XP Professional,Windows Vista,Windows XP

Change History

Vea también

Referencia

Miembros de AddDeploymentAdministratorRequest
Espacio de nombres de Microsoft.Xrm.Sdk.Deployment
AddDeploymentAdministratorResponse

Otros recursos

Deployment Web Service Messages

Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.