语言

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)

当由类实现时,将打开指定的数据连接。

适用于