dotConnect for Dynamics 365 Documentation
Devart.Data.Dynamics Namespace / DynamicsConnectionStringBuilder Class
Properties Methods

In This Topic
    DynamicsConnectionStringBuilder Class Members
    In This Topic

    The following tables list the members exposed by DynamicsConnectionStringBuilder.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded. Initializes a new instance of the DynamicsConnectionStringBuilder class.  
    Top
    Public Properties
     NameDescription
    Public PropertyDetermines the authentication type to use. The following kinds are supported: RefreshToken (OAuth 2.0) and UsernamePassword.  
    Public PropertyGets or sets one of the pair of OAuth 2.0 credentials, that you can obtain when you register an OAuth application in Azure AD tenant. This parameter is used for RefreshToken authentication.  
    Public PropertyGets or sets the second one of the pair of OAuth 2.0 credentials, that you can obtain when you register an OAuth application in Azure AD tenant. This parameter is used for RefreshToken authentication.  
    Public PropertyGets or sets time span in seconds for connection to live. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyGets or sets the connection string associated with the System.Data.Common.DbConnectionStringBuilder. (Inherited from System.Data.Common.DbConnectionStringBuilder)
    Public PropertyGets or sets the time to wait while trying to establish a connection before terminating the attempt and generating an error. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyGets the current number of keys that are contained within the System.Data.Common.DbConnectionStringBuilder.ConnectionString property. (Inherited from System.Data.Common.DbConnectionStringBuilder)
    Public PropertyGets or sets the time in seconds to wait while trying to execute a command before terminating the attempt and generating an error. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyGets or sets the number of retry attempts to re-run a command in case when the command failed because of an exception, that indicates that the reason of the failure may be temporary. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertySpecifies a data source-specific command that should be executed immediately after establishing the connection. (Inherited from Devart.Common.DbConnectionStringBuilder)
    Public PropertyReturns true. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyGets a value that indicates whether the System.Data.Common.DbConnectionStringBuilder is read-only. (Inherited from System.Data.Common.DbConnectionStringBuilder)
    Public PropertyReturns the value of given key. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyCollection of keys in the Devart.Data.SqlShimConnectionStringBuilder. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyDetermines whether to use local SQL engine for SELECT queries, that are too complex to translate them directly to Dynamics CRM API calls or to throw an exception. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyThe maximum number of connections allowed in the pool. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyThe minimum number of connections allowed in the pool. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public Property (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyGets or sets the password for the Dynamics CRM login account. This parameter is used for UserNamePassword authentication.  
    Public PropertyGets or sets a value indicating whether password is stored in connection string after connection is opened. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyGets or sets pooling mode. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyGets or sets the host name or IP address of the proxy server to which to connect. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyGets or sets the password for the proxy server account. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyGets or sets the port number of the proxy server. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyGets or sets the proxy server account name. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyGets or sets a value indicating whether the connection is read-only (allows only SELECT statements). (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyGets or sets an OAuth refresh token for RefreshToken authentication.  
    Public PropertySpecifies a data source-specific command that should be executed immediately after first establishing the connection. Unlike InitializationCommand, this command is not executed when a connection is taken from the pool. (Inherited from Devart.Common.DbConnectionStringBuilder)
    Public PropertyGets or sets the login URL to Dynamics CRM service.  
    Public PropertyGets or sets the location to store OAuth 2.0 refresh tokens between sessions. This parameter is applicable only for some of the data sources that use OAuth 2.0. It is not used in dotConnect for Dynamics CRM. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public Property (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyGets or sets the Dynamics CRM login account. This parameter is used for UserNamePassword authentication.  
    Public PropertyIndicates whether all the datetime values retrieved from the data source are returned as UTC values or converted to local time, and whether date values, specified on the application side (for example, in SQL statements) are considered UTC or local. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyCollection of values in the Devart.Data.SqlShimConnectionStringBuilder. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Top
    Public Methods
     NameDescription
    Public MethodAdds an entry with the specified key and value into the System.Data.Common.DbConnectionStringBuilder. (Inherited from System.Data.Common.DbConnectionStringBuilder)
    Public MethodSets all Devart.Data.SqlShimConnectionStringBuilder properties to default values. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public MethodIndicates whether specified key is set in the Devart.Data.SqlShimConnectionStringBuilder object. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public MethodOverloaded. Overridden. Returns a value indicating whether this DynamicsConnectionStringBuilder has same parameters as given DbConnectionStringBuilder.  
    Public MethodSets value of the specified key to default. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public MethodDetermines whether the key will be serialized if required. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public MethodReturns the connection string associated with this System.Data.Common.DbConnectionStringBuilder. (Inherited from System.Data.Common.DbConnectionStringBuilder)
    Public MethodAttempts to get a key value. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Top
    See Also