Share via


ProxyClientHelper.CreateClient Method (Uri, TimeSpan)

 

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

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 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 365 server.

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

See Also

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

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright