IDeploymentService.Execute Method

Applies To: Microsoft Dynamics CRM 2013, Microsoft 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

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

Parameters

Return Value

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

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

Other Resources

Use Deployment Entities and Deployment Configuration Settings

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