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
'Déclaration
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.