SqlProvider.Dispose Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru