Delen via


DataConnectionStateChangedEventArgs.OldState Property

Retrieves the old state of the data connection.

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

Syntax

'Declaration
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

Property Value

Type: Microsoft.VisualStudio.Data.DataConnectionState
Returns a DataConnectionState object instance indicating the old state of the data connection.

.NET Framework Security

See Also

Reference

DataConnectionStateChangedEventArgs Class

Microsoft.VisualStudio.Data Namespace

DataConnectionStateChangedEventArgs