IVsDataConnection.State 属性

获取数据连接的当前状态。

命名空间:  Microsoft.VisualStudio.Data.Services
程序集:  Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)

语法

声明
ReadOnly Property State As DataConnectionState
DataConnectionState State { get; }
property DataConnectionState State {
    DataConnectionState get ();
}
abstract State : DataConnectionState
function get State () : DataConnectionState

属性值

类型:Microsoft.VisualStudio.Data.Services.DataConnectionState
从指定数据连接的当前状态 DataConnectionState 枚举的值。

备注

数据连接的状态可以采用下列值之一: ClosedOpenBroken

.NET Framework 安全性

请参见

参考

IVsDataConnection 接口

Microsoft.VisualStudio.Data.Services 命名空间