Share via


OrganizationWebProxyClient Constructor (Uri, Boolean)

 

Applies To: Dynamics CRM 2015

Initializes a new instance of the OrganizationWebProxyClient class using an Organization service URL.

Namespace:   Microsoft.Xrm.Sdk.WebServiceClient
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

public OrganizationWebProxyClient(
    Uri serviceUrl,
    bool useStrongTypes
)
public:
OrganizationWebProxyClient(
    Uri^ serviceUrl,
    bool useStrongTypes
)
new : 
        serviceUrl:Uri *
        useStrongTypes:bool -> OrganizationWebProxyClient
Public Sub New (
    serviceUrl As Uri,
    useStrongTypes As Boolean
)

Parameters

  • serviceUrl
    Type: System.Uri

    Type: URI. The URL of the Organization web service.

Remarks

The URL must contain the SDK client version. The client version is set to the version of the SDK assemblies that the client application was linked to. For example:

https://myorg.crm.dynamics.com/XRMServices/2011/Organization.svc/web?SdkClientVersion=7.0.0.0

See Also

SdkClientVersion
OrganizationWebProxyClient Overload
OrganizationWebProxyClient Class
Microsoft.Xrm.Sdk.WebServiceClient Namespace

Return to top

© 2016 Microsoft. All rights reserved. Copyright