共用方式為


IVsDataConnectionSupport 介面

定義

表示能夠與數據源通訊,並提供使用數據源之各種服務的存取權。

public interface class IVsDataConnectionSupport : IDisposable, IServiceProvider
public interface IVsDataConnectionSupport : IDisposable, IServiceProvider
type IVsDataConnectionSupport = interface
    interface IServiceProvider
    interface IDisposable
Public Interface IVsDataConnectionSupport
Implements IDisposable, IServiceProvider
衍生
實作

屬性

ConnectionString

由類別實作時,取得或設定建立指定數據源連接所需的資訊字串表示。

ConnectionTimeout

由類別實作時,取得或設定在終止嘗試並產生逾時錯誤之前建立連接時等待的時間量。

ProviderObject

由類別實作時,取得指定連接的基礎提供者物件。

State

由類別實作時,取得數據連接的狀態。

方法

Close()

由類別實作時,關閉指定的連接。

Initialize(Object)

由類別實作時,選擇性地從現有的數據提供者物件初始化指定的連接。

Open(Boolean)

由類別實作時,會開啟指定的數據連線。

適用於