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.
Gets or sets the database connection.
Namespace: Microsoft.Data.Tools.Schema.Sql.UnitTesting
Assembly: Microsoft.Data.Tools.Schema.Sql.UnitTesting (in Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)
Syntax
public DbConnection Connection { get; set; }
public:
property DbConnection^ Connection {
DbConnection^ get();
void set(DbConnection^ value);
}
member Connection : DbConnection with get, set
Public Property Connection As DbConnection
Property Value
Type: System.Data.Common.DbConnection
The current connection.
Remarks
This database connection is used to execute the Transact-SQL statements.
See Also
DbConnection
ConnectionContext Class
Microsoft.Data.Tools.Schema.Sql.UnitTesting Namespace
Return to top