Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Retrieves the state of the data connection.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public MustOverride ReadOnly Property State As DataConnectionState
public abstract DataConnectionState State { get; }
public:
virtual property DataConnectionState State {
DataConnectionState get () abstract;
}
abstract State : DataConnectionState with get
abstract 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
- 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.