Share via


Interface ISfcHasConnection

Provides methods that can be used to get or set a server connection. All domain root objects must implement this interface. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

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

Le type ISfcHasConnection expose les membres suivants.

Propriétés

  Nom Description
Propriété publique ConnectionContext Gets the connection context mode for the connection. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Haut de la page

Méthodes

  Nom Description
Méthode publique GetConnection() () () () Gets the server connection to the backing storage. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique GetConnection(SfcObjectQueryMode) Gets the server connection to the backing storage that supports the specified query processing mode. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique SetConnection Sets the active connection for the domain root. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Haut de la page