Partager via


IDeploymentService.Update(DeploymentObject) Method

Definition

Updates a deployment record.

public:
 void Update(Microsoft::Xrm::Sdk::Deployment::DeploymentObject ^ deploymentObject);
[System.ServiceModel.FaultContract(typeof(Microsoft.Xrm.Sdk.Deployment.DeploymentServiceFault), Action="http://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/UpdateDeploymentServiceFaultFault", Name="DeploymentServiceFault", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts/Deployment")]
[System.ServiceModel.OperationContract(Action="http://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/Update", ReplyAction="http://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/UpdateResponse")]
public void Update (Microsoft.Xrm.Sdk.Deployment.DeploymentObject deploymentObject);
[<System.ServiceModel.FaultContract(typeof(Microsoft.Xrm.Sdk.Deployment.DeploymentServiceFault), Action="http://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/UpdateDeploymentServiceFaultFault", Name="DeploymentServiceFault", Namespace="http://schemas.microsoft.com/xrm/2011/Contracts/Deployment")>]
[<System.ServiceModel.OperationContract(Action="http://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/Update", ReplyAction="http://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/UpdateResponse")>]
abstract member Update : Microsoft.Xrm.Sdk.Deployment.DeploymentObject -> unit
Public Sub Update (deploymentObject As DeploymentObject)

Parameters

deploymentObject
DeploymentObject

An instance of a deployment record with all values populated. See Remarks.

Attributes

Remarks

Before calling this method you should call Retrieve(DeploymentEntityType, EntityInstanceId) 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.

Applies to

See also