表示公开方法和属性使您能够直接与数据源的连接一起使用的接口。
命名空间: 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 | 执行与释放或重置非托管资源相关的应用程序定义的任务。 (继承自 IDisposable。) |
![]() |
GetService | 获取指定类型的服务对象。 (继承自 IServiceProvider。) |
![]() |
Initialize | 当实现由选件类,初始化指定的连接,并且可以从现有数据提供程序对象。 |
![]() |
Open | 当实现由选件类,打开指定的数据连接。 |
页首
备注
此接口具有一个基实现。DDEX结构。