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
'使用
Dim instance As IVsDataConnection
Dim value As DataConnectionState

value = instance.State
DataConnectionState State { get; }
property DataConnectionState State {
    DataConnectionState 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.

Permissions

See Also

Reference

IVsDataConnection Interface

IVsDataConnection Members

Microsoft.VisualStudio.Data.Services Namespace