SqlProvider SqlProvider SqlProvider SqlProvider Class

定義

包含要連接到 SQL Server 並與其通訊的功能。Contains functionality to connect to and communicate with a SQL Server.

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public ref class SqlProvider : IDisposable
public class SqlProvider : IDisposable
type SqlProvider = class
    interface IDisposable
Public Class SqlProvider
Implements IDisposable
繼承
SqlProviderSqlProviderSqlProviderSqlProvider
衍生
實作

建構函式

SqlProvider() SqlProvider() SqlProvider() SqlProvider()

初始化 SqlProvider 類別的新執行個體。Initializes a new instance of the SqlProvider class.

方法

Dispose() Dispose() Dispose() Dispose()

釋放 SqlProvider 所開啟的 Managed 參考並關閉連線。Releases managed references and closes connections opened by the SqlProvider.

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

選擇性地釋放 SqlProvider 所開啟的 Managed 參考並關閉連線。Optionally releases managed references and closes connections opened by the SqlProvider.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)

適用於