Interface ISfcConnection

Defines high-level properties and methods for server connections.

Espace de noms :  Microsoft.SqlServer.Management.Common
Assembly :  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Syntaxe

'Déclaration
Public Interface ISfcConnection
'Utilisation
Dim instance As ISfcConnection
public interface ISfcConnection
public interface class ISfcConnection
type ISfcConnection =  interface end
public interface ISfcConnection

Le type ISfcConnection expose les membres suivants.

Propriétés

  Nom Description
Propriété publique IsForceDisconnected Gets a Boolean value that specifies whether the connection was forcibly disconnected.
Propriété publique IsOpen Gets a value indicating whether the connection is open.
Propriété publique ServerInstance Gets or sets the name of the target server for the connection.
Propriété publique ServerVersion Gets the SQL Server version of the target server.

Haut de la page

Méthodes

  Nom Description
Méthode publique Connect Connects to the target server.
Méthode publique Copy Copies the connection object.
Méthode publique Disconnect Disconnects from the target server.
Méthode publique ForceDisconnected Forces a disconnect from the instance of SQL Server.
Méthode publique ToEnumeratorObject Indicates the specified object from the enumeration. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. 

Haut de la page