SqlDirectConnection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
SqlDirectConnection is a simple ConnectionInfoBase that wraps a SqlConnection object.
public class SqlDirectConnection : Microsoft.SqlServer.Management.Common.ConnectionInfoBase
type SqlDirectConnection = class
inherit ConnectionInfoBase
Public Class SqlDirectConnection
Inherits ConnectionInfoBase
- Inheritance
Constructors
SqlDirectConnection() |
Constructs a new SqlDirectConnection with no SqlConnection |
SqlDirectConnection(SqlConnection) |
Constructs a new SqlDirectConnection whose properties are calculated from the given SqlConnection |
SqlDirectConnection(SqlConnection) |
Properties
ServerCaseSensitivity | (Inherited from ConnectionInfoBase) |
ServerName |
Returns the ServerName from the wrapped SqlConnection |
ServerType | (Inherited from ConnectionInfoBase) |
ServerVersion | (Inherited from ConnectionInfoBase) |
SqlConnection |
Returns the wrapped SqlConnection |
Methods
ConnectionParmsChanged() | |
Copy() |
Deep copy |
ToString() | (Inherited from ConnectionInfoBase) |