Freigeben über


IVsDataConnectionSupport.State Property

When implemented by a class, gets the state of the data connection.

Namespace:  Microsoft.VisualStudio.Data.Services.SupportEntities
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
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
The state of the data connection, based on the DataConnectionState enumeration.

Remarks

The DataConnectionState enumeration identifies three allowable states: Closed, Open, and Broken.

.NET Framework Security

See Also

Reference

IVsDataConnectionSupport Interface

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace