IDeploymentService.Update Method

Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online

Updates a deployment record.

Namespace: Microsoft.Xrm.Sdk.Deployment
Assembly: Microsoft.Xrm.Sdk.Deployment (in Microsoft.Xrm.Sdk.Deployment.dll)

Syntax

'Declaration
<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
)

Parameters

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

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Server 2012, Windows 7 (All Versions), Windows 8 (All Versions)

Target Platforms

Windows 98,Windows 2000,Windows 2000 Server,Windows CE,Windows Server 2008,Windows 98 Second Edition,Pocket PC,Smart Phone,Windows Server 2003,Windows XP Professional,Windows Server 2008, ,Windows Server 2012, ,Windows 7 (All Versions), ,Windows 8 (All Versions)

See Also

Reference

IDeploymentService Interface
IDeploymentService Members
Microsoft.Xrm.Sdk.Deployment Namespace
UpdateRequest
DeploymentEntityType Enumeration

Other Resources

Use Deployment Entities and Deployment Configuration Settings

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