CrmConnection Class

 

Applies To: Dynamics CRM 2015

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)

System.Object
  Microsoft.Xrm.Client.CrmConnection

public class CrmConnection

NameDescription
System_CAPS_pubmethodCrmConnection()

Initializes a new instance of the CrmConnection class.

System_CAPS_pubmethodCrmConnection(ConnectionStringSettings)

Initializes a new instance of the CrmConnection class , setting the connection string.

System_CAPS_pubmethodCrmConnection(String)

Initializes a new instance of the CrmConnection class , setting the connection string name.

NameDescription
System_CAPS_pubpropertyCallerId

Gets or sets the GUID of the user for whom SDK calls are made on behalf of.

System_CAPS_pubpropertyClientCredentials

Gets or sets the user credentials.

System_CAPS_pubpropertyDeviceCredentials

Gets the Windows Live ID device credentials.

System_CAPS_pubpropertyHomeRealmUri

Gets or sets the URI of the cross realm STS metadata endpoint.

System_CAPS_pubpropertyProxyTypesAssembly

Gets or sets the assembly containing the strong proxy types.

System_CAPS_pubpropertyProxyTypesEnabled

Gets or sets whether the strong proxy types should be returned by the service.

System_CAPS_pubpropertyServiceConfigurationInstanceMode

Gets or sets the mode for instantiating the service configuration.

System_CAPS_pubpropertyServiceUri

Gets or set the organization service URL.

System_CAPS_pubpropertyTimeout

Gets or sets the service timeout value.

System_CAPS_pubpropertyUserTokenExpiryWindow

Gets or sets the time offset prior to the user token expiration when the user token should be refreshed.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetConnectionId()

Gets or sets the text value that is unique to the connection values.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticParse(String)

Parses a string in the DbConnectionStringBuilder format.

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

© 2016 Microsoft. All rights reserved. Copyright

Show: