ProxyClientHelper.CreateClient Method (Uri)


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

Creates a deployment web service client, setting the URL.

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


public static DeploymentServiceClient CreateClient(
    Uri serverAddress
Public Shared Function CreateClient (
    serverAddress As Uri
) As DeploymentServiceClient


  • serverAddress
    Type: System.Uri

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

Return Value

Type: Microsoft.Xrm.Sdk.Deployment.DeploymentServiceClient

Returns DeploymentServiceClient.


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