Search Results for

    Show / Hide Table of Contents

    Interface IConnectionStringSettings

    Connection String Settings

    Namespace: Gossip.ConnectionStrings
    Assembly: Gossip.dll
    Syntax
    public interface IConnectionStringSettings

    Properties

    | Improve this Doc View Source

    ApplicationName

    Name of the application that is connecting to the database

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

    ConnectRetryCount

    The number of reconnections attempted after identifying that there was an idle connection failure. This must be an integer between 0 and 255. Default is 1. Set to 0 to disable reconnecting on idle connection failures. An ArgumentException will be thrown if set to a value outside of the allowed range.

    Declaration
    int ConnectRetryCount { get; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    ConnectRetryInterval

    Amount of time (in seconds) between each reconnection attempt after identifying that there was an idle connection failure. This must be an integer between 1 and 60. The default is 10 seconds. An ArgumentException will be thrown if set to a value outside of the allowed range.

    Declaration
    int ConnectRetryInterval { get; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    Database

    The database name

    Declaration
    string Database { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    DefaultCommandTimeout

    The time in seconds that the connection will wait for a command to execute

    Declaration
    int DefaultCommandTimeout { get; }
    Property Value
    Type Description
    Int32
    | 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
    int LoadBalanceTimeout { get; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    MachineName

    Name of the machine that is connecting to the database

    Declaration
    string MachineName { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    MaxPoolSize

    The max number of database connection objects for the database connection string

    Declaration
    int MaxPoolSize { get; }
    Property Value
    Type Description
    Int32
    | 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
    bool MultiSubnetFailover { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    Password

    Database connection password

    Declaration
    string Password { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Server

    The database server name (e.g. localhost)

    Declaration
    string Server { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    UseIntegratedSecurity

    Use Windows Authentication to connect to the database server.

    Declaration
    bool UseIntegratedSecurity { get; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    Username

    Username of user/application that is connecting to the database

    Declaration
    string Username { get; }
    Property Value
    Type Description
    String
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX