語言

BaseXEStore.ISfcHasConnection.GetConnection 方法

定義

多載

名稱 Description
ISfcHasConnection.GetConnection(SfcObjectQueryMode)

取得目前的連線以便查詢。 回傳一個連線,支援單一序列查詢或多個同時開啟的查詢(如要求)。

ISfcHasConnection.GetConnection()

取得目前的連線以便查詢。 回傳一個支援單一序列查詢的連線,因此該查詢必須結束後才能開始下一個查詢。

ISfcHasConnection.GetConnection(SfcObjectQueryMode)

取得目前的連線以便查詢。 回傳一個連線,支援單一序列查詢或多個同時開啟的查詢(如要求)。

Microsoft.SqlServer.Management.Common.ISfcConnection ISfcHasConnection.GetConnection(Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectQueryMode mode);
abstract member Microsoft.SqlServer.Management.Sdk.Sfc.ISfcHasConnection.GetConnection : Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectQueryMode -> Microsoft.SqlServer.Management.Common.ISfcConnection
override this.Microsoft.SqlServer.Management.Sdk.Sfc.ISfcHasConnection.GetConnection : Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectQueryMode -> Microsoft.SqlServer.Management.Common.ISfcConnection
Function GetConnection (mode As SfcObjectQueryMode) As ISfcConnection Implements ISfcHasConnection.GetConnection

參數

傳回

連線使用,或空連線以使用快取模式。 快取模式可避免連線及開啟資料讀取器的問題。

實作

適用於

ISfcHasConnection.GetConnection()

取得目前的連線以便查詢。 回傳一個支援單一序列查詢的連線,因此該查詢必須結束後才能開始下一個查詢。

Microsoft.SqlServer.Management.Common.ISfcConnection ISfcHasConnection.GetConnection();
abstract member Microsoft.SqlServer.Management.Sdk.Sfc.ISfcHasConnection.GetConnection : unit -> Microsoft.SqlServer.Management.Common.ISfcConnection
override this.Microsoft.SqlServer.Management.Sdk.Sfc.ISfcHasConnection.GetConnection : unit -> Microsoft.SqlServer.Management.Common.ISfcConnection
Function GetConnection () As ISfcConnection Implements ISfcHasConnection.GetConnection

傳回

實作

適用於