dotConnect for Snowflake Documentation
Devart.Data.Snowflake Namespace / SnowflakeConnectionStringBuilder Class
Properties Methods

On this page
    SnowflakeConnectionStringBuilder Class Members
    On this page

    The following tables list the members exposed by SnowflakeConnectionStringBuilder.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded. Initializes a new instance of the SnowflakeConnectionStringBuilder class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the authentication method: SnowflakeAuthenticationType.Basic (the default), SnowflakeAuthenticationType.KeyPair, OAuth2, or SnowflakeAuthenticationType.OAuth2Interactive.  
    Public PropertyGets or sets the client ID of the Snowflake OAuth security integration. Required for the OAuth2 and OAuth2Interactive authentication methods.  
    Public PropertyGets or sets the client secret of the Snowflake OAuth security integration. Required for the OAuth2 and OAuth2Interactive authentication methods.  
    Public PropertyGets or sets time span in seconds for connection to live. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public Property (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 Property (Inherited from System.Data.Common.DbConnectionStringBuilder)
    Public PropertyGets or sets the database used in the session. If it is not specified, the default namespace of the user is used.  
    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 Snowflake account URL, for example, myorg-myaccount.snowflakecomputing.com, or the account identifier, for example, myorg-myaccount. The .snowflakecomputing.com suffix is added if it is missing.  
    Public PropertyGets or sets a Boolean value that indicates whether the connection is automatically enlisted in the current transaction context.  
    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 Property (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 PropertyGets or sets the license key. (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 Snowflake 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 PropertyGets or sets a value indicating whether object names are normalized: dots and double quotes are replaced with underscores, and names longer than 63 characters are shortened. The default value is false. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyGets or sets the passphrase of an encrypted private key for the KeyPair authentication method.  
    Public PropertyGets or sets a programmatic access token (PAT) or the password of the Snowflake user. A password works only if the user isn't required to use multi-factor authentication. Required for the SnowflakeAuthenticationType.Basic authentication method.  
    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 RSA private key of the user in the PEM format (PKCS#1 or PKCS#8) or the path to the file that contains it. Required for the KeyPair authentication method. If the value contains -----BEGIN, it is treated as the key; otherwise, as the path to the key file.  
    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 the OAuth 2.0 refresh token for the OAuth2 and SnowflakeAuthenticationType.OAuth2Interactive authentication methods. Required for OAuth2. For OAuth2Interactive, it can be empty: if the application can show a browser, the provider opens the browser to sign in to Snowflake and gets the refresh token when the connection is opened.  
    Public PropertyGets or sets the role used in the session. If it is not specified, the default role of the user is used.  
    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 default schema of the session. Unqualified object names in SQL statements refer to this schema.  
    Public PropertyGets or sets a value indicating whether VARCHAR(36) columns are returned as System.Guid values. The default value is false.  
    Public PropertyGets or sets a value indicating whether VARCHAR(38) columns (GUIDs in braces) are returned as System.Guid values. The default value is false.  
    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 Snowflake. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Public PropertyGets or sets the login name of the Snowflake user. Required for the Basic and KeyPair authentication methods.  
    Public PropertyGets or sets the value of the User-Agent HTTP header sent to the service. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    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)
    Public PropertyGets or sets the virtual warehouse that executes queries. If it is not specified, the default warehouse of the user is used.  
    Top
    Public Methods
     NameDescription
    Public Method (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 SnowflakeConnectionStringBuilder 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 Method (Inherited from System.Data.Common.DbConnectionStringBuilder)
    Public MethodAttempts to get a key value. (Inherited from Devart.Data.SqlShimConnectionStringBuilder)
    Top
    See Also