共用方式為


IDeploymentService.Update 方法

Updates a deployment record.

命名空間: Microsoft.Xrm.Sdk.Deployment
組件: Microsoft.Xrm.Sdk.Deployment (在 Microsoft.Xrm.Sdk.Deployment.dll 中)

語法

'宣告
<OperationContractAttribute(Action:="https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/Update", ReplyAction:="https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/UpdateResponse")> _
<FaultContractAttribute(GetType(DeploymentServiceFault), Action:="https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/UpdateDeploymentServiceFaultFault", Name:="DeploymentServiceFault", Namespace:="https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")> _
Sub Update ( _
    deploymentObject As DeploymentObject _
)
[OperationContractAttribute(Action="https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/Update", ReplyAction="https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/UpdateResponse")] 
[FaultContractAttribute(typeof(DeploymentServiceFault), Action="https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/UpdateDeploymentServiceFaultFault", Name="DeploymentServiceFault", Namespace="https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")] 
void Update (
    DeploymentObject deploymentObject
)

參數

  • deploymentObject
    Type: DeploymentObject. An instance of a deployment record with all values populated. See Remarks.

備註

Before calling this method you should call Retrieve to get the deployment entity instance. Unlike the IOrganizationService, this update method will use all attribute values in the deploymentObject instance to update the record.

執行緒安全

此類型的任何公用靜態 (Visual Basic 中的 Shared) 成員都具備執行緒安全。任何執行個體成員都不保證具備執行緒安全。

平台

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、智慧型手機、Windows Server 2003、Windows XP Professional、Windows Server 2008、Windows Server 2012、Windows 7、Windows 8、Windows 8.1

請參閱

參照

IDeploymentService 介面
IDeploymentService 成員
Microsoft.Xrm.Sdk.Deployment 命名空間
UpdateRequest
DeploymentEntityType 列舉

其他資源

Use Deployment Entities and Deployment Configuration Settings

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