SqlConnection.IDisposable.Dispose Method
Namespace: System.Data.SqlClient
Assembly: System.Data.SqlClient (in System.Data.SqlClient.dll)
Syntax
'Declaration
Private Sub Dispose Implements IDisposable.Dispose
'Usage
Dim instance As SqlConnection
CType(instance, IDisposable).Dispose()
void IDisposable.Dispose()
private:
virtual void Dispose() sealed = IDisposable::Dispose
JScript does not support explicit interface implementations.
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Platforms
Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Compact Framework
Supported in: 3.5, 2.0, 1.0