Partilhar via


IDeploymentService.Execute Method (DeploymentServiceRequest)

 

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

Executes a message in the form of a request, and returns a response.

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/ExecuteDeploymentServiceFaultFault", 
    Name = "DeploymentServiceFault", Namespace = "https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")]
[OperationContractAttribute(Action = "https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/Execute", 
    ReplyAction = "https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/ExecuteResponse")]
DeploymentServiceResponse Execute(
    DeploymentServiceRequest request
)
<FaultContractAttribute(GetType(DeploymentServiceFault), Action := "https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/ExecuteDeploymentServiceFaultFault",
    Name := "DeploymentServiceFault", Namespace := "https://schemas.microsoft.com/xrm/2011/Contracts/Deployment")>
<OperationContractAttribute(Action := "https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/Execute",
    ReplyAction := "https://schemas.microsoft.com/xrm/2011/Contracts/Services/IDeploymentService/ExecuteResponse")>
Function Execute (
    request As DeploymentServiceRequest
) As DeploymentServiceResponse

Parameters

Return Value

Type: Microsoft.Xrm.Sdk.Deployment.DeploymentServiceResponse

Type: DeploymentServiceResponse
The response from the request. You must cast the return value of this method to the specific instance of the response that corresponds to the Request parameter

See Also

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