Элементы SqlConnectionInfo
The SqlConnectionInfo object represents information that is required to establish a connection to an instance of SQL Server.
Тип SqlConnectionInfo предоставляет доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
SqlConnectionInfo() () () () | Initializes a new instance of the SqlConnectionInfo class. | |
SqlConnectionInfo(String) | Initializes a new instance of the SqlConnectionInfo class. | |
SqlConnectionInfo(SqlConnectionInfo) | Initializes a new instance of the SqlConnectionInfo class. | |
SqlConnectionInfo(ServerConnection, ConnectionType) | Initializes a new instance of the SqlConnectionInfo class. | |
SqlConnectionInfo(String, String, String) | Initializes a new instance of the SqlConnectionInfo class. |
В начало
Методы
Имя | Описание | |
---|---|---|
ConnectionParmsChanged | Changes the connection parameters. (Наследуется из SqlOlapConnectionInfoBase.) | |
Copy | Returns a copy of the SqlConnectionInfo object. | |
CreateConnectionObject | Creates a system connection object. (Перезаписывает SqlOlapConnectionInfoBase. . :: . .CreateConnectionObject() () () ().) | |
Equals | (Наследуется из Object.) | |
Finalize | (Наследуется из Object.) | |
GetHashCode | (Наследуется из Object.) | |
GetType | (Наследуется из Object.) | |
MemberwiseClone | (Наследуется из Object.) | |
ToString | Returns the SqlConnectionInfo object in string format. (Перезаписывает SqlOlapConnectionInfoBase. . :: . .ToString() () () ().) |
В начало
Поля
Имя | Описание | |
---|---|---|
DefaultNetworkProtocol | The NetworkProtocol object that specifies the default network protocol for the connection. |
В начало
Свойства
Имя | Описание | |
---|---|---|
ApplicationName | Gets or sets the name of the application that is connected to the instance of SQL Server. | |
ConnectionProtocol | Gets or sets the network protocol used by the connection to the instance of SQL Server. | |
ConnectionString | Gets the connection string used when the connection is established with the instance of SQL Server. (Перезаписывает SqlOlapConnectionInfoBase. . :: . .ConnectionString.) | |
ConnectionStringInternal | Gets or sets the internal connection string. (Наследуется из SqlOlapConnectionInfoBase.) | |
ConnectionTimeout | Gets or sets the number of seconds before a connection times out. (Наследуется из SqlOlapConnectionInfoBase.) | |
ConnectionTimeoutInternal | Gets or sets the internal connection timeout period in seconds. (Наследуется из SqlOlapConnectionInfoBase.) | |
DatabaseName | Gets or sets the database with which the connection is established. (Наследуется из SqlOlapConnectionInfoBase.) | |
DatabaseNameInternal | Gets or sets the internal database name. (Наследуется из SqlOlapConnectionInfoBase.) | |
EncryptConnection | Gets or sets the Boolean property value that specifies whether the connection information is encrypted. | |
IntegratedSecurityInternal | Gets or sets the Boolean property value that specifies whether the connection supports integrated security. (Наследуется из SqlOlapConnectionInfoBase.) | |
MaxPoolSize | Gets or sets the maximum number of execution threads in a thread pool that the connection will accept. | |
MinPoolSize | Gets or sets the minimum number of execution threads in a thread pool that the connection will accept. | |
PacketSize | Gets or sets the network packet size used by the connection to send and receive data in bytes. | |
Password | Gets or sets the password used to establish a connection. (Наследуется из SqlOlapConnectionInfoBase.) | |
PoolConnectionLifeTime | Gets or sets the pool connection period in seconds. | |
Pooled | Gets or sets the SqlBoolean property value that specifies whether the connection is pooled. | |
QueryTimeout | Gets or sets the number of seconds before a query times out. (Наследуется из SqlOlapConnectionInfoBase.) | |
QueryTimeoutInternal | Gets or sets the internal query timeout period in seconds. (Наследуется из SqlOlapConnectionInfoBase.) | |
RebuildConnectionStringInternal | (Наследуется из SqlOlapConnectionInfoBase.) | |
SecurePassword | Gets or sets the secure password used to establish a connection. (Наследуется из SqlOlapConnectionInfoBase.) | |
ServerCaseSensitivity | Gets or sets the server case sensitivity for the connection. (Наследуется из ConnectionInfoBase.) | |
ServerName | Gets or sets the name of the instance of SQL Server. (Наследуется из SqlOlapConnectionInfoBase.) | |
ServerNameInternal | Gets or sets the internal name of the instance of SQL Server. (Наследуется из SqlOlapConnectionInfoBase.) | |
ServerType | Gets or sets the server connection type. (Наследуется из ConnectionInfoBase.) | |
ServerVersion | Gets or sets the version information about the instance of SQL Server. (Наследуется из ConnectionInfoBase.) | |
UseIntegratedSecurity | Gets or sets the Boolean property value that specifies whether the connection uses integrated security. (Наследуется из SqlOlapConnectionInfoBase.) | |
UserName | Gets or sets the user that is connecting to the instance of SQL Server. (Наследуется из SqlOlapConnectionInfoBase.) | |
WorkstationId | Gets or sets the value that uniquely identifies the client workstation. |
В начало
См. также