Compartir a través de


SqlConnectionInfo Miembros

The SqlConnectionInfo object represents information that is required to establish a connection to an instance of SQL Server.

El tipo SqlConnectionInfo expone los siguientes miembros.

Constructores

  Nombre Descripción
Método publico SqlConnectionInfo() () () () Initializes a new instance of the SqlConnectionInfo class.
Método publico SqlConnectionInfo(String) Initializes a new instance of the SqlConnectionInfo class.
Método publico SqlConnectionInfo(SqlConnectionInfo) Initializes a new instance of the SqlConnectionInfo class.
Método publico SqlConnectionInfo(ServerConnection, ConnectionType) Initializes a new instance of the SqlConnectionInfo class.
Método publico SqlConnectionInfo(String, String, String) Initializes a new instance of the SqlConnectionInfo class.

Principio

Métodos

  Nombre Descripción
Método protegido ConnectionParmsChanged Changes the connection parameters. (Se hereda de SqlOlapConnectionInfoBase).
Método publico Copy Returns a copy of the SqlConnectionInfo object.
Método publico CreateConnectionObject Creates a system connection object. (Invalida SqlOlapConnectionInfoBase. . :: . .CreateConnectionObject() () () ().)
Método publico Equals (Se hereda de Object).
Método protegido Finalize (Se hereda de Object).
Método publico GetHashCode (Se hereda de Object).
Método publico GetType (Se hereda de Object).
Método protegido MemberwiseClone (Se hereda de Object).
Método publico ToString Returns the SqlConnectionInfo object in string format. (Invalida SqlOlapConnectionInfoBase. . :: . .ToString() () () ().)

Principio

Campos

  Nombre Descripción
Campo públicoMiembro estático DefaultNetworkProtocol The NetworkProtocol object that specifies the default network protocol for the connection.

Principio

Propiedades

  Nombre Descripción
Propiedad pública ApplicationName Gets or sets the name of the application that is connected to the instance of SQL Server.
Propiedad pública ConnectionProtocol Gets or sets the network protocol used by the connection to the instance of SQL Server.
Propiedad pública ConnectionString Gets the connection string used when the connection is established with the instance of SQL Server. (Invalida SqlOlapConnectionInfoBase. . :: . .ConnectionString.)
Propiedad protegida ConnectionStringInternal Gets or sets the internal connection string. (Se hereda de SqlOlapConnectionInfoBase).
Propiedad pública ConnectionTimeout Gets or sets the number of seconds before a connection times out. (Se hereda de SqlOlapConnectionInfoBase).
Propiedad protegida ConnectionTimeoutInternal Gets or sets the internal connection timeout period in seconds. (Se hereda de SqlOlapConnectionInfoBase).
Propiedad pública DatabaseName Gets or sets the database with which the connection is established. (Se hereda de SqlOlapConnectionInfoBase).
Propiedad protegida DatabaseNameInternal Gets or sets the internal database name. (Se hereda de SqlOlapConnectionInfoBase).
Propiedad pública EncryptConnection Gets or sets the Boolean property value that specifies whether the connection information is encrypted.
Propiedad protegida IntegratedSecurityInternal Gets or sets the Boolean property value that specifies whether the connection supports integrated security. (Se hereda de SqlOlapConnectionInfoBase).
Propiedad pública MaxPoolSize Gets or sets the maximum number of execution threads in a thread pool that the connection will accept.
Propiedad pública MinPoolSize Gets or sets the minimum number of execution threads in a thread pool that the connection will accept.
Propiedad pública PacketSize Gets or sets the network packet size used by the connection to send and receive data in bytes.
Propiedad pública Password Gets or sets the password used to establish a connection. (Se hereda de SqlOlapConnectionInfoBase).
Propiedad pública PoolConnectionLifeTime Gets or sets the pool connection period in seconds.
Propiedad pública Pooled Gets or sets the SqlBoolean property value that specifies whether the connection is pooled.
Propiedad pública QueryTimeout Gets or sets the number of seconds before a query times out. (Se hereda de SqlOlapConnectionInfoBase).
Propiedad protegida QueryTimeoutInternal Gets or sets the internal query timeout period in seconds. (Se hereda de SqlOlapConnectionInfoBase).
Propiedad protegida RebuildConnectionStringInternal (Se hereda de SqlOlapConnectionInfoBase).
Propiedad pública SecurePassword Gets or sets the secure password used to establish a connection. (Se hereda de SqlOlapConnectionInfoBase).
Propiedad pública ServerCaseSensitivity Gets or sets the server case sensitivity for the connection. (Se hereda de ConnectionInfoBase).
Propiedad pública ServerName Gets or sets the name of the instance of SQL Server. (Se hereda de SqlOlapConnectionInfoBase).
Propiedad protegida ServerNameInternal Gets or sets the internal name of the instance of SQL Server. (Se hereda de SqlOlapConnectionInfoBase).
Propiedad pública ServerType Gets or sets the server connection type. (Se hereda de ConnectionInfoBase).
Propiedad pública ServerVersion Gets or sets the version information about the instance of SQL Server. (Se hereda de ConnectionInfoBase).
Propiedad pública UseIntegratedSecurity Gets or sets the Boolean property value that specifies whether the connection uses integrated security. (Se hereda de SqlOlapConnectionInfoBase).
Propiedad pública UserName Gets or sets the user that is connecting to the instance of SQL Server. (Se hereda de SqlOlapConnectionInfoBase).
Propiedad pública WorkstationId Gets or sets the value that uniquely identifies the client workstation.

Principio