Szerkesztés

Megosztás a következőn keresztül:


SqlProvider.Dispose Method

Definition

Releases resources opened by the SqlProvider.

Overloads

Dispose()

This API supports the product infrastructure and is not intended to be used directly from your code.

Releases managed references and closes connections opened by the SqlProvider.

Dispose(Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code.

Optionally releases managed references and closes connections opened by the SqlProvider.

Dispose()

Releases managed references and closes connections opened by the SqlProvider.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 virtual void Dispose();
public void Dispose ();
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Sub Dispose ()

Implements

Applies to

Dispose(Boolean)

Optionally releases managed references and closes connections opened by the SqlProvider.

This API supports the product infrastructure and is not intended to be used directly from your code.

protected:
 virtual void Dispose(bool disposing);
protected virtual void Dispose (bool disposing);
abstract member Dispose : bool -> unit
override this.Dispose : bool -> unit
Protected Overridable Sub Dispose (disposing As Boolean)

Parameters

disposing
Boolean

true to release managed references and close connections; otherwise, false.

Applies to