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

IDisposable.Dispose()

.NET Framework Security

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

See Also

Reference

SqlConnection Class

SqlConnection Members

System.Data.SqlClient Namespace