Share via


PrecedenceConstraint.Dispose Method

This method is inherited from the IDisposable.Dispose method, which is a generic mechanism to explicitly tell an object to perform cleanup.

Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Syntax

'Declaration
Public Sub Dispose
public void Dispose ()
public:
virtual void Dispose () sealed
public final void Dispose ()
public final function Dispose ()

Remarks

Dispose is an optional mechanism that should be used in specific cases that require it.

Example

The following code sample shows how to dispose of connection manager resources.

Dispose();
Dispose()

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

PrecedenceConstraint Class
PrecedenceConstraint Members
Microsoft.SqlServer.Dts.Runtime Namespace