Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The SqlConnectionInfo object represents information that is required to establish a connection to an instance of SQL Server.
The following tables list the members exposed by the SqlConnectionInfo type.
Public Constructors
Name | Description | |
---|---|---|
SqlConnectionInfo | Overloaded. Initializes a new instance of the SqlConnectionInfo class. |
Top
Public Fields
Name | Description | |
---|---|---|
![]() ![]() |
DefaultNetworkProtocol | The NetworkProtocol object that specifies the default network protocol for the connection. |
Top
Public Properties
(see also Protected Properties )
Name | Description | |
---|---|---|
![]() |
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 | Overridden. Gets the connection string used when the connection is established with the instance of SQL Server. |
![]() |
ConnectionTimeout | Gets or sets the number of seconds before a connection times out. (inherited from SqlOlapConnectionInfoBase) |
![]() |
DatabaseName | Gets or sets the database with which the connection is established. (inherited from SqlOlapConnectionInfoBase) |
![]() |
EncryptConnection | Gets or sets the Boolean property value that specifies whether the connection information is encrypted. |
![]() |
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. (inherited from 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. (inherited from SqlOlapConnectionInfoBase) |
![]() |
SecurePassword | Gets or sets the secure password used to establish a connection. (inherited from SqlOlapConnectionInfoBase) |
![]() |
ServerCaseSensitivity | Gets or sets the server case sensitivity for the connection. (inherited from ConnectionInfoBase) |
![]() |
ServerName | Gets or sets the name of the instance of SQL Server. (inherited from SqlOlapConnectionInfoBase) |
![]() |
ServerType | Gets or sets the server connection type. (inherited from ConnectionInfoBase) |
![]() |
ServerVersion | Gets or sets the version information about the instance of SQL Server. (inherited from ConnectionInfoBase) |
![]() |
UseIntegratedSecurity | Gets or sets the Boolean property value that specifies whether the connection uses integrated security. (inherited from SqlOlapConnectionInfoBase) |
![]() |
UserName | Gets or sets the user that is connecting to the instance of SQL Server. (inherited from SqlOlapConnectionInfoBase) |
![]() |
WorkstationId | Gets or sets the value that uniquely identifies the client workstation. |
Top
Protected Properties
Name | Description | |
---|---|---|
![]() |
ConnectionStringInternal | Gets or sets the internal connection string. (inherited from SqlOlapConnectionInfoBase) |
![]() |
ConnectionTimeoutInternal | Gets or sets the internal connection timeout period in seconds. (inherited from SqlOlapConnectionInfoBase) |
![]() |
DatabaseNameInternal | Gets or sets the internal database name. (inherited from SqlOlapConnectionInfoBase) |
![]() |
IntegratedSecurityInternal | Gets or sets the Boolean property value that specifies whether the connection supports integrated security. (inherited from SqlOlapConnectionInfoBase) |
![]() |
QueryTimeoutInternal | Gets or sets the internal query timeout period in seconds. (inherited from SqlOlapConnectionInfoBase) |
![]() |
RebuildConnectionStringInternal | (inherited from SqlOlapConnectionInfoBase ) |
![]() |
ServerNameInternal | Gets or sets the internal name of the instance of SQL Server. (inherited from SqlOlapConnectionInfoBase) |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
![]() |
Copy | Returns a copy of the SqlConnectionInfo object. |
![]() |
CreateConnectionObject | Overridden. Creates a system connection object. |
![]() |
Equals | Overloaded. (inherited from Object ) |
![]() |
GetHashCode | (inherited from Object ) |
![]() |
GetType | (inherited from Object ) |
![]() ![]() |
ReferenceEquals | (inherited from Object ) |
![]() |
ToString | Overridden. Returns the SqlConnectionInfo object in string format. |
Top
Protected Methods
Name | Description | |
---|---|---|
![]() |
ConnectionParmsChanged | Changes the connection parameters. (inherited from SqlOlapConnectionInfoBase) |
![]() |
Finalize | (inherited from Object ) |
![]() |
MemberwiseClone | (inherited from Object ) |
Top
See Also
Reference
SqlConnectionInfo Class
Microsoft.SqlServer.Management.Common Namespace