CrmConnection Members

Applies To: Microsoft Dynamics CRM 2015, Microsoft Dynamics CRM Online

Provides a connection to the server using a connection string. (Developer Extensions)

The following tables list the members exposed by the CrmConnection type.

Public Constructors

  Name Description
  CrmConnection Overloaded. Initializes a new instance of the CrmConnection class.


Public Properties

  Name Description
public property CallerId Gets or sets the GUID of the user for whom SDK calls are made on behalf of.
public property ClientCredentials Gets or sets the user credentials.
public property DeviceCredentials Gets the Windows Live ID device credentials.
public property HomeRealmUri Gets or sets the URI of the cross realm STS metadata endpoint.
public property ProxyTypesAssembly Gets or sets the assembly containing the strong proxy types.
public property ProxyTypesEnabled Gets or sets whether the strong proxy types should be returned by the service.
public property ServiceConfigurationInstanceMode Gets or sets the mode for instantiating the service configuration.
public property ServiceUri Gets or set the organization service URL.
public property Timeout Gets or sets the service timeout value.
public property UserTokenExpiryWindow Gets or sets the time offset prior to the user token expiration when the user token should be refreshed.


Public Methods

(see also Protected Methods)

  Name Description
public method Equals  (inherited from Object)
public method GetConnectionId Gets or sets the text value that is unique to the connection values.
public method GetHashCode  (inherited from Object)
public method GetType  (inherited from Object)
public methodstatic Parse Parses a string in the DbConnectionStringBuilder format.
public method ToString  (inherited from Object)


Protected Methods

(see also Extension Methods)

  Name Description
protected method Finalize  (inherited from Object)
protected method MemberwiseClone  (inherited from Object)


Extension Methods

  Name Description
public extension method SerializeByJson  Serialize an object using the DataContractJsonSerializer. (Defined by ObjectExtensions.)


See Also


CrmConnection Class
Microsoft.Xrm.Client Namespace

Other Resources

Developer Extensions for Microsoft Dynamics CRM
Simplified Connection to Microsoft Dynamics CRM

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