ProxyClientHelper.CreateClient Method (Uri, TimeSpan)

 

Applies To: Dynamics CRM 2015

Creates a deployment web service client, setting the URL and the timeout.

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

Syntax

public static DeploymentServiceClient CreateClient(
    Uri serverAddress,
    TimeSpan sendTimeout
)
public:
static DeploymentServiceClient^ CreateClient(
    Uri^ serverAddress,
    TimeSpan sendTimeout
)
static member CreateClient : 
        serverAddress:Uri *
        sendTimeout:TimeSpan -> DeploymentServiceClient
Public Shared Function CreateClient (
    serverAddress As Uri,
    sendTimeout As TimeSpan
) As DeploymentServiceClient

Parameters

  • serverAddress
    Type: System.Uri

    Type: URI. The URL for the deployment Web service.

Return Value

Type: Microsoft.Xrm.Sdk.Deployment.DeploymentServiceClient

Returns DeploymentServiceClient.

Remarks

Use the following URL, replacing myservername with the name of your Microsoft Dynamics CRM server.

http:// myservername/xrmdeployment/2011/deployment.svc

See Also

CreateClient Overload
ProxyClientHelper Class
Microsoft.Xrm.Sdk.Deployment.Proxy Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright