Share via


AdoDotNetConnectionSupport.State Property

Gets the state of the data connection.

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

Syntax

'Declaration
Public Overrides ReadOnly Property State As DataConnectionState
'Usage
Dim instance As AdoDotNetConnectionSupport 
Dim value As DataConnectionState 

value = instance.State
public override DataConnectionState State { get; }
public:
virtual property DataConnectionState State {
    DataConnectionState get () override;
}
public override function get State () : DataConnectionState

Property Value

Type: Microsoft.VisualStudio.Data.Services.DataConnectionState
The state of the connection, as enumerated by the DataConnectionState class.

Implements

IVsDataConnectionSupport.State

Remarks

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

.NET Framework Security

See Also

Reference

AdoDotNetConnectionSupport Class

AdoDotNetConnectionSupport Members

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace