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.
Releases resources used by a connection.
Namespace: Microsoft.Data.Tools.Schema.Sql.UnitTesting
Assembly: Microsoft.Data.Tools.Schema.Sql.UnitTesting (in Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)
Overload List
Name | Description | |
---|---|---|
![]() |
Dispose() | Releases resources used by a connection. |
![]() |
Dispose(Boolean) | Releases the unmanaged resources used by the connection and, optionally, releases the managed resources. |
See Also
ConnectionContext Class
Microsoft.Data.Tools.Schema.Sql.UnitTesting Namespace
Return to top
ConnectionContext.Dispose Method ()
Releases resources used by a connection.
Syntax
public void Dispose()
public:
virtual void Dispose() sealed
abstract Dispose : unit -> unit
override Dispose : unit -> unit
Public Sub Dispose
Implements
Return to top
ConnectionContext.Dispose Method (Boolean)
Releases the unmanaged resources used by the connection and, optionally, releases the managed resources.
Syntax
protected virtual void Dispose(
bool disposing
)
protected:
virtual void Dispose(
bool disposing
)
abstract Dispose :
disposing:bool -> unit
override Dispose :
disposing:bool -> unit
Protected Overridable Sub Dispose (
disposing As Boolean
)
Parameters
disposing
Type: System.BooleanSpecify true to release both managed and unmanaged resources; false to release only unmanaged resources.
Return to top