Partager via


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

See Also

Reference

IVsDataConnection Interface

Microsoft.VisualStudio.Data.Services Namespace