Share via


DataConnectionSupport.State Property

Gets the state of the data connection.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property State As DataConnectionState
    Get
public abstract DataConnectionState State { get; }
public:
virtual property DataConnectionState State {
    DataConnectionState get () abstract;
}
abstract State : DataConnectionState
abstract function get State () : DataConnectionState

Property Value

Type: Microsoft.VisualStudio.Data.Services.DataConnectionState
The state of the data connection, based on the DataConnectionState enumeration.

Implements

IVsDataConnectionSupport.State

Remarks

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

Notes to Inheritors

The derived class should override this property.

.NET Framework Security

See Also

Reference

DataConnectionSupport Class

Microsoft.VisualStudio.Data.Framework Namespace