DataConnectionStateChangedEventArgs.OldState 属性

获取数据连接是最后状态更改之前的状态。

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

语法

声明
Public ReadOnly Property OldState As DataConnectionState
public DataConnectionState OldState { get; }
public:
property DataConnectionState OldState {
    DataConnectionState get ();
}
member OldState : DataConnectionState
function get OldState () : DataConnectionState

属性值

类型:Microsoft.VisualStudio.Data.Services.DataConnectionState
从一个状态的 DataConnectionState 枚举的值数据连接是最后状态转换之前。

.NET Framework 安全性

请参见

参考

DataConnectionStateChangedEventArgs 类

Microsoft.VisualStudio.Data.Services 命名空间