Freigeben über


AdoDotNetConnectionSupport.State Property

Retrieves the state of the data connection.

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

Syntax

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

Property Value

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

Remarks

The DataConnectionState class identifies three allowable states: open, closed, and broken.

.NET Framework Security

See Also

Reference

AdoDotNetConnectionSupport Class

Microsoft.VisualStudio.Data.AdoDotNet Namespace