Freigeben über


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
    Get
public DataConnectionState OldState { get; }
public:
property DataConnectionState OldState {
    DataConnectionState get ();
}
member OldState : DataConnectionState
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

Microsoft.VisualStudio.Data.Services Namespace