ISfcHasConnection Interface

Provides methods that can be used to get or set a server connection. All domain root objects must implement this interface. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Interface ISfcHasConnection
'Usage
Dim instance As ISfcHasConnection
public interface ISfcHasConnection
public interface class ISfcHasConnection
type ISfcHasConnection =  interface end
public interface ISfcHasConnection

The ISfcHasConnection type exposes the following members.

Properties

  Name Description
Public property ConnectionContext Gets the connection context mode for the connection. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Top

Methods

  Name Description
Public method GetConnection() Gets the server connection to the backing storage. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetConnection(SfcObjectQueryMode) Gets the server connection to the backing storage that supports the specified query processing mode.
Public method SetConnection Sets the active connection for the domain root. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Top

See Also

Reference

Microsoft.SqlServer.Management.Sdk.Sfc Namespace