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

Initializes a new instance of the CrmServiceClient class using the specified network credentials and authentication type as Windows Live or Office 365.

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

public CrmServiceClient (
	string crmUserId,
	SecureString crmPassword,
	string crmRegion,
	string orgName,
	[OptionalAttribute] bool useUniqueInstance,
	[OptionalAttribute] bool useSsl,
	[OptionalAttribute] OrganizationDetail orgDetail,
	[OptionalAttribute] bool isOffice365
)

Parameter

crmUserId

User name for Live or Office 365.

crmPassword

Password for Live or Office 365.

crmRegion

Region for the CRM Online or office 365 server. Valid values are NorthAmerica, EMEA, APAC, and SouthAmerica. If empty, search will be run for servers in all the regions.

orgName

Organization name that you want to connect to.

useUniqueInstance

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.

useSsl

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://.

orgDetail

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.

isOffice365

Indicates whether to use Office 365 authentication. If true, uses office 365 authentication.

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.
Tunjukkan: