Share via


DataConnection.State Property

Retrieves the current state of this data connection.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property State As DataConnectionState
'Usage
Dim instance As DataConnection 
Dim value As DataConnectionState 

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

Property Value

Type: Microsoft.VisualStudio.Data.DataConnectionState
Returns a DataConnectionState object instance that indicates the state of the current data connection.

.NET Framework Security

See Also

Reference

DataConnection Class

DataConnection Members

Microsoft.VisualStudio.Data Namespace