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
'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.DataConnectionState
Returns a DataConnectionState object instance indicating the old state of the data connection.
.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.
See Also
Reference
DataConnectionStateChangedEventArgs Class
DataConnectionStateChangedEventArgs Members