IVsDataConnection.State Property
Gets the current state of the data connection.
Namespace: Microsoft.VisualStudio.Data.Services
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaration
ReadOnly Property State As DataConnectionState
DataConnectionState State { get; }
property DataConnectionState State {
DataConnectionState get ();
}
abstract State : DataConnectionState with get
function get State () : DataConnectionState
Property Value
Type: Microsoft.VisualStudio.Data.Services.DataConnectionState
A value from the DataConnectionState enumeration specifying the current state of the data connection.
Remarks
The state of the data connection can take one of the following values: Closed, Open, and Broken.
.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.