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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.