Споделяне чрез


ProxyClientHelper.CreateClient Method (Uri)

 

Applies To: Dynamics CRM 2015

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)

Syntax

public static DeploymentServiceClient CreateClient(
    Uri serverAddress
)
public:
static DeploymentServiceClient^ CreateClient(
    Uri^ serverAddress
)
static member CreateClient : 
        serverAddress:Uri -> DeploymentServiceClient
Public Shared Function CreateClient (
    serverAddress As Uri
) 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