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
'Usage
Dim instance As IVsDataConnectionSupport 
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
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

IVsDataConnectionSupport Members

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace