IDeploymentService.Update(DeploymentObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.