共用方式為


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 with get
function get OldState () : DataConnectionState

屬性值

類型:Microsoft.VisualStudio.Data.Services.DataConnectionState
表示這個狀態的 DataConnectionState 列舉型別的值資料連接是在最終狀態轉換。

.NET Framework 安全性

請參閱

參考

DataConnectionStateChangedEventArgs 類別

Microsoft.VisualStudio.Data.Services 命名空間