다음을 통해 공유


IVsDataConnection.State Property

Gets the current state of the data connection.

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

Syntax

‘선언
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
A value from the DataConnectionState enumeration specifying the current state of the data connection.

Remarks

The state of the data connection can take one of the following values: Closed, Open, and Broken.

.NET Framework Security

See Also

Reference

IVsDataConnection Interface

Microsoft.VisualStudio.Data.Services Namespace