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
'宣言
ReadOnly Property State As DataConnectionState
Get
DataConnectionState State { get; }
property DataConnectionState State {
DataConnectionState get ();
}
abstract State : DataConnectionState
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.