CrmServiceClient Pembina (NetworkCredential, String, String, String, Boolean, Boolean, OrganizationDetail)

Initializes a new instance of the CrmServiceClient class using the specified network credentials and Active Directory authentication.

Ruang nama: Microsoft.Xrm.Tooling.Connector
Perhimpunan: Microsoft.Xrm.Tooling.Connector (dalam Microsoft.Xrm.Tooling.Connector.dll)

public CrmServiceClient (
	NetworkCredential credential,
	string hostName,
	string port,
	string orgName,
	[OptionalAttribute] bool useUniqueInstance,
	[OptionalAttribute] bool useSsl,
	[OptionalAttribute] OrganizationDetail orgDetail



Initialized network credential object to sign in to Microsoft Dynamics CRM.


Name of the server that hosts the Microsoft Dynamics CRM web service.


Port number on the server that hosts the Microsoft Dynamics CRM web service.


Organization name that you want to connect to.


Optional. Indicates whether to reuse an existing connection, if recalled while the connection is still active. Default is false. If set to true, will force the system to create a unique connection.


Optional. Defaults to null. If set, this is returned from a query to the Discovery service, and is generally used as the second leg of an organization selection process.


Optional. Indicates whether to use SSL to connect to Microsoft Dynamics CRM. Defaults to false, that is, uses http://. If set to true, uses https://.

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

Windows 98,Windows 2000,Pelayan Windows 2000,Windows CE,Windows Server 2008,Windows 98 Edisi Kedua,Pocket PC,Telefon Pintar,Windows Server 2003,Windows XP Professional,Windows Server 2008,Windows Server 2012,Windows 7,Windows 8,Windows 8.1

Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.