AddDeploymentAdministratorRequest 类
应用到: 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.
命名空间: Microsoft.Xrm.Sdk.Deployment
程序集: Microsoft.Xrm.Sdk.Deployment (在 Microsoft.Xrm.Sdk.Deployment.dll 中)
语法
声明
<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
示例
// The user must already exist in AD.
AddDeploymentAdministratorRequest request = new AddDeploymentAdministratorRequest();
request.Name = Config.AdminDomain + "\\" + userName;
_deploymentService.Execute(request);
备注
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.
继承层次结构
System.Object
Microsoft.Xrm.Sdk.Deployment.DeploymentServiceRequest
Microsoft.Xrm.Sdk.Deployment.AddDeploymentAdministratorRequest
线程安全性
此类型的所有公共静态(Visual Basic 中的 Shared)成员都是线程安全成员。不保证任何实例成员是线程安全成员。
平台
开发平台
Windows Vista、Windows Server 2003 和
目标平台
Windows 98,Windows 2000,Windows 2000 Server,Windows CE,Windows Server 2008,Windows 98 Second Edition,Pocket PC,智能电话,Windows Server 2003,Windows XP Professional,Windows Vista,Windows XP
Change History
另请参阅
参考
AddDeploymentAdministratorRequest 成员
Microsoft.Xrm.Sdk.Deployment 命名空间
AddDeploymentAdministratorResponse
其他资源
Deployment Web Service Messages
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.