Show / Hide Table of Contents

    Class SqlConnectionPropertiesBase

    Inheritance
    System.Object
    DataConnectionConfigurationBase
    SqlConnectionPropertiesBase
    SqlConnectionConfiguration
    SqlDbConnectionConfiguration
    SqlGlobalPropertiesOptions
    SqlShardConnectionOptions<TShard>.SqlShardConnectionConfiguration
    SqlShardConnectionOptions<TShard>.SqlShardConnectionsConfiguration
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    DataConnectionConfigurationBase.GetRetryTimespan(Int32)
    DataConnectionConfigurationBase.RaisePropertyChanged(String)
    DataConnectionConfigurationBase.UserName
    DataConnectionConfigurationBase.Password
    DataConnectionConfigurationBase.WindowsAuth
    DataConnectionConfigurationBase.RetryCount
    DataConnectionConfigurationBase.RetryInterval
    DataConnectionConfigurationBase.RetryLengthening
    DataConnectionConfigurationBase.CircuitBreakerFailureCount
    DataConnectionConfigurationBase.CircuitBreakerTestInterval
    DataConnectionConfigurationBase.PropertyChanged
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: ArgentSea.Sql
    Assembly: ArgentSea.Sql.dll
    Syntax
    public abstract class SqlConnectionPropertiesBase : DataConnectionConfigurationBase, INotifyPropertyChanged

    Properties

    | Improve this Doc View Source

    ApplicationIntent

    Declares the application workload type when connecting to a database in an SQL Server Availability Group.

    Declaration
    public ApplicationIntent? ApplicationIntent { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Data.SqlClient.ApplicationIntent>
    | Improve this Doc View Source

    ApplicationName

    The optional application name parameter to be sent to the backend during connection initiation.

    Declaration
    public string ApplicationName { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ConnectTimeout

    Gets or sets the length of time (in seconds) to wait for a connection to the server before terminating the attempt and generating an error. Defaults to 5 seconds (before retry) if not set.

    Declaration
    public int? ConnectTimeout { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>
    | Improve this Doc View Source

    CurrentLanguage

    Gets or sets the SQL Server Language record name.

    Declaration
    public string CurrentLanguage { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    DataSource

    Gets or sets the name or network address of the instance of SQL Server to connect to.

    Declaration
    public string DataSource { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Encrypt

    Gets or sets a Boolean value that indicates whether SQL Server uses SSL encryption for all data sent between the client and server if the server has a certificate installed.

    Declaration
    public bool? Encrypt { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>
    | Improve this Doc View Source

    FailoverPartner

    Gets or sets the name or address of the partner server to connect to if the primary server is down.

    Declaration
    public string FailoverPartner { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    InitialCatalog

    Gets or sets the name of the database associated with the connection.

    Declaration
    public string InitialCatalog { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    LoadBalanceTimeout

    Gets or sets the minimum time, in seconds, for the connection to live in the connection pool before being destroyed.

    Declaration
    public int? LoadBalanceTimeout { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>
    | Improve this Doc View Source

    MaxPoolSize

    Gets or sets the maximum number of connections allowed in the connection pool for this specific connection string.

    Declaration
    public int? MaxPoolSize { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>
    | Improve this Doc View Source

    MinPoolSize

    Gets or sets the minimum number of connections allowed in the connection pool for this specific connection string.

    Declaration
    public int? MinPoolSize { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>
    | Improve this Doc View Source

    MultipleActiveResultSets

    When true, an application can maintain multiple active result sets (MARS). When false, an application must process or cancel all result sets from one batch before it can execute any other batch on that connection.

    Declaration
    public bool? MultipleActiveResultSets { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>
    | Improve this Doc View Source

    MultiSubnetFailover

    If your application is connecting to an AlwaysOn availability group (AG) on different subnets, setting MultiSubnetFailover=true provides faster detection of and connection to the (currently) active server.

    Declaration
    public bool? MultiSubnetFailover { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>
    | Improve this Doc View Source

    PacketSize

    Gets or sets the size in bytes of the network packets used to communicate with an instance of SQL Server.

    Declaration
    public int? PacketSize { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>
    | Improve this Doc View Source

    PersistSecurityInfo

    Gets or sets a Boolean value that indicates if security-sensitive information, such as the password, is not returned as part of the connection if the connection is open or has ever been in an open state.

    Declaration
    public bool? PersistSecurityInfo { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>
    | Improve this Doc View Source

    Pooling

    Gets or sets a Boolean value that indicates whether the connection will be pooled or explicitly opened every time that the connection is requested.

    Declaration
    public bool? Pooling { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>
    | Improve this Doc View Source

    Replication

    Gets or sets a Boolean value that indicates whether replication is supported using the connection.

    Declaration
    public bool? Replication { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>
    | Improve this Doc View Source

    TransactionBinding

    Gets or sets a string value that indicates how the connection maintains its association with an enlisted System.Transactions transaction.

    Declaration
    public string TransactionBinding { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    TrustServerCertificate

    Gets or sets a value that indicates whether the channel will be encrypted while bypassing walking the certificate chain to validate trust.

    Declaration
    public bool? TrustServerCertificate { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>
    | Improve this Doc View Source

    TypeSystemVersion

    Gets or sets a string value that indicates the type system the application expects.

    Declaration
    public string TypeSystemVersion { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    UserInstance

    Gets or sets a value that indicates whether to redirect the connection from the default SQL Server Express instance to a runtime-initiated instance running under the account of the caller.

    Declaration
    public bool? UserInstance { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>
    | Improve this Doc View Source

    WorkstationID

    Gets or sets the name of the workstation connecting to SQL Server.

    Declaration
    public string WorkstationID { get; set; }
    Property Value
    Type Description
    System.String

    Implements

    System.ComponentModel.INotifyPropertyChanged
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX