Поделиться через


IDeploymentService.Update Method (DeploymentObject)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Updates a deployment record.

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

Syntax

[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")]
[OperationContractAttribute(Action = "https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/Update", 
    ReplyAction = "https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/UpdateResponse")]
void Update(
    DeploymentObject deploymentObject
)
<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")>
<OperationContractAttribute(Action := "https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/Update",
    ReplyAction := "https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/UpdateResponse")>
Sub Update (
    deploymentObject As DeploymentObject
)

Parameters

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.

See Also

UpdateRequest
DeploymentEntityType
IDeploymentService Interface
Microsoft.Xrm.Sdk.Deployment Namespace
Deployment entities and deployment configuration settings

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright