DataConnectionStateChangedEventArgs.OldState Property

Gets the state the data connection was in before the last state change.

Namespace:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'宣言
Public ReadOnly Property OldState As DataConnectionState
'使用
Dim instance As DataConnectionStateChangedEventArgs
Dim value As DataConnectionState

value = instance.OldState
public DataConnectionState OldState { get; }
public:
property DataConnectionState OldState {
    DataConnectionState get ();
}
public function get OldState () : DataConnectionState

Property Value

Type: Microsoft.VisualStudio.Data.Services.DataConnectionState

A value from the DataConnectionState enumeration indicating the state the data connection was in before the last state change.

Permissions

See Also

Reference

DataConnectionStateChangedEventArgs Class

DataConnectionStateChangedEventArgs Members

Microsoft.VisualStudio.Data.Services Namespace