Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Defines high-level properties and methods for server connections.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Syntax
'Declaration
Public Interface ISfcConnection
'Usage
Dim instance As ISfcConnection
public interface ISfcConnection
public interface class ISfcConnection
type ISfcConnection = interface end
public interface ISfcConnection
Der ISfcConnection-Typ macht folgende Elemente verfügbar.
Eigenschaften
| Name | Beschreibung | |
|---|---|---|
![]() |
IsForceDisconnected | Gets a Boolean value that specifies whether the connection was forcibly disconnected. |
![]() |
IsOpen | Gets a value indicating whether the connection is open. |
![]() |
ServerInstance | Gets or sets the name of the target server for the connection. |
![]() |
ServerVersion | Gets the SQL Server version of the target server. |
Zum Anfang
Methoden
| Name | Beschreibung | |
|---|---|---|
![]() |
Connect | Connects to the target server. |
![]() |
Copy | Copies the connection object. |
![]() |
Disconnect | Disconnects from the target server. |
![]() |
ForceDisconnected | Forces a disconnect from the instance of SQL Server. |
![]() |
ToEnumeratorObject | Indicates the specified object from the enumeration. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. |
Zum Anfang
.gif)
.gif)