Share via


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

'Declaration
Public ReadOnly Property OldState As DataConnectionState
'Usage
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.

.NET Framework Security

See Also

Reference

DataConnectionStateChangedEventArgs Class

DataConnectionStateChangedEventArgs Members

Microsoft.VisualStudio.Data.Services Namespace