共用方式為


ISfcHasConnection 介面

Provides methods that can be used to get or set a server connection. All domain root objects must implement this interface. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

命名空間:  Microsoft.SqlServer.Management.Sdk.Sfc
組件:  Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

語法

'宣告
Public Interface ISfcHasConnection
'用途
Dim instance As ISfcHasConnection
public interface ISfcHasConnection
public interface class ISfcHasConnection
type ISfcHasConnection =  interface end
public interface ISfcHasConnection

ISfcHasConnection 型別公開下列成員。

屬性

  名稱 說明
公用屬性 ConnectionContext Gets the connection context mode for the connection. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

上層

方法

  名稱 說明
公用方法 GetConnection() () () () Gets the server connection to the backing storage. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
公用方法 GetConnection(SfcObjectQueryMode) Gets the server connection to the backing storage that supports the specified query processing mode. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
公用方法 SetConnection Sets the active connection for the domain root. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

上層