Dela via


IDeploymentService.Execute Method (DeploymentServiceRequest)

 

Applies To: Dynamics CRM 2015

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

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

© 2016 Microsoft. All rights reserved. Copyright