CrmConnection Class
Applies To: Dynamics CRM 2013
Provides a connection to the server using a connection string. (Developer Extensions)
Namespace: Microsoft.Xrm.Client
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Inheritance Hierarchy
System.Object
Microsoft.Xrm.Client.CrmConnection
Syntax
public class CrmConnection
public ref class CrmConnection
type CrmConnection = class end
Public Class CrmConnection
Constructors
Name | Description | |
---|---|---|
CrmConnection() | Initializes a new instance of the CrmConnection class. |
|
CrmConnection(ConnectionStringSettings) | Initializes a new instance of the CrmConnection class , setting the connection string. |
|
CrmConnection(String) | Initializes a new instance of the CrmConnection class , setting the connection string name. |
Properties
Name | Description | |
---|---|---|
CallerId | Gets or sets the GUID of the user for whom SDK calls are made on behalf of. |
|
ClientCredentials | Gets or sets the user credentials. |
|
DeviceCredentials | Gets the Windows Live ID device credentials. |
|
HomeRealmUri | Gets or sets the URI of the cross realm STS metadata endpoint. |
|
ProxyTypesAssembly | Gets or sets the assembly containing the strong proxy types. |
|
ProxyTypesEnabled | Gets or sets whether the strong proxy types should be returned by the service. |
|
ServiceConfigurationInstanceMode | Gets or sets the mode for instantiating the service configuration. |
|
ServiceUri | Gets or set the organization service URL. |
|
Timeout | Gets or sets the service timeout value. |
|
UserTokenExpiryWindow | Gets or sets the time offset prior to the user token expiration when the user token should be refreshed. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetConnectionId() | Gets or sets the text value that is unique to the connection values. |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
Parse(String) | Parses a string in the DbConnectionStringBuilder format. |
|
ToString() | (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
SerializeByJson(IEnumerable<Type>) | Serialize an object using the DataContractJsonSerializer.(Defined by ObjectExtensions.) |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Xrm.Client Namespace
Developer extensions for Microsoft Dynamics CRM 2013
Simplified connection to Microsoft Dynamics CRM 2013
Return to top