IVsDataConnectionSupport 介面
表示公開的方法和屬性可讓您直接與資料來源的連接時所使用的介面。
命名空間: Microsoft.VisualStudio.Data.Services.SupportEntities
組件: Microsoft.VisualStudio.Data.Services (在 Microsoft.VisualStudio.Data.Services.dll 中)
語法
'宣告
Public Interface IVsDataConnectionSupport _
Inherits IServiceProvider, IDisposable
public interface IVsDataConnectionSupport : IServiceProvider,
IDisposable
public interface class IVsDataConnectionSupport : IServiceProvider,
IDisposable
type IVsDataConnectionSupport =
interface
interface IServiceProvider
interface IDisposable
end
public interface IVsDataConnectionSupport extends IServiceProvider, IDisposable
IVsDataConnectionSupport 型別會公開下列成員。
屬性
名稱 | 說明 | |
---|---|---|
![]() |
ConnectionString | 當由類別實作時,取得或設定要求的資訊的字串表示建立指定資料來源的連接。 |
![]() |
ConnectionTimeout | 當由類別實作時,取得或設定時間,在等待建立連接時在終止嘗試並產生錯誤之前的逾時。 |
![]() |
ProviderObject | 當由類別實作時,取得指定之連接的基礎提供者物件。 |
![]() |
State | 當由類別實作時,取得資料連接的狀態。 |
回頁首
方法
名稱 | 說明 | |
---|---|---|
![]() |
Close | 當由類別實作時,關閉指定的連接。 |
![]() |
Dispose | 執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。 (繼承自 IDisposable)。 |
![]() |
GetService | 取得指定型別的服務物件。 (繼承自 IServiceProvider)。 |
![]() |
Initialize | 當由類別實作時,初始化指定的連接,並選擇性地從現有的資料提供者物件。 |
![]() |
Open | 當由類別實作時,開啟指定的資料連接。 |
回頁首
備註
這個介面的基底實作。DDEX Framework。