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.
Represents a connection to an instance of SQL Server. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.
Vererbungshierarchie
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcConnection
Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Public Class SqlStoreConnection _
Inherits SfcConnection
'Usage
Dim instance As SqlStoreConnection
public class SqlStoreConnection : SfcConnection
public ref class SqlStoreConnection : public SfcConnection
type SqlStoreConnection =
class
inherit SfcConnection
end
public class SqlStoreConnection extends SfcConnection
Der SqlStoreConnection-Typ macht folgende Elemente verfügbar.
Konstruktoren
| Name | Beschreibung | |
|---|---|---|
![]() |
SqlStoreConnection | Initializes a new instance of the SqlStoreConnection class with the specified SQL connection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. |
Zum Anfang
Eigenschaften
| Name | Beschreibung | |
|---|---|---|
![]() |
ConnectionType | Gets a value indicating whether the database server is part of a multi-server administration matrix. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Überschreibt SfcConnection.ConnectionType.) |
![]() |
ConnectTimeout | Gets or sets the timeout interval, in seconds. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Überschreibt SfcConnection.ConnectTimeout.) |
![]() |
IsForceDisconnected | Gets a value indicating whether the connection has been forcibly disconnected. (Geerbt von SfcConnection.) |
![]() |
IsOpen | Gets a value indicating whether the connection is currently open. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Überschreibt SfcConnection.IsOpen.) |
![]() |
ServerConnection | Gets the Server Connection for the SqlStoreConnection. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. |
![]() |
ServerInstance | Gets or sets the name of the server. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Überschreibt SfcConnection.ServerInstance.) |
![]() |
ServerVersion | Gets the version number of the connected server. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Überschreibt SfcConnection.ServerVersion.) |
![]() |
StatementTimeout | Gets or sets the number of seconds a statement is given to run before failing with a time-out error. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Überschreibt SfcConnection.StatementTimeout.) |
Zum Anfang
Methoden
| Name | Beschreibung | |
|---|---|---|
![]() |
Connect | Attempts to connect to the server. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Überschreibt SfcConnection.Connect().) |
![]() |
Copy | Returns a copy of the server connection object. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Überschreibt SfcConnection.Copy().) |
![]() |
Disconnect | Attempts to disconnect from the server. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Überschreibt SfcConnection.Disconnect().) |
![]() |
Equals(Object) | (Geerbt von Object.) |
![]() |
Equals(SfcConnection) | Determines whether the specified server connection is equal to the current SqlStoreConnection object. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Überschreibt SfcConnection.Equals(SfcConnection).) |
![]() |
Finalize | (Geerbt von Object.) |
![]() |
ForceDisconnected | Enforces a server disconnect and ensures that connection cannot be re-opened again. (Geerbt von SfcConnection.) |
![]() |
GetHashCode | Returns the hash code for this instance. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. (Überschreibt SfcConnection.GetHashCode().) |
![]() |
GetType | (Geerbt von Object.) |
![]() |
MemberwiseClone | (Geerbt von Object.) |
![]() |
ToEnumeratorObject | Returns an enumerator object. (Überschreibt SfcConnection.ToEnumeratorObject().) |
![]() |
ToString | (Geerbt von Object.) |
Zum Anfang
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.
.gif)
.gif)
.gif)