IntegrationServices.ISfcHasConnection.GetConnection Method

Definition

指示要获取的连接。Indicates the connection to get.

Overloads

ISfcHasConnection.GetConnection()

检索与后备存储系统的服务器连接。Retrieves the server connection to the backing storage.

ISfcHasConnection.GetConnection(SfcObjectQueryMode)

检索要查询的当前连接。Retrieves the current connection to query on. 返回支持单个串行查询或者同时打开的多个查询(根据要求)的连接。Returns a connection supporting either a single serial query or multiple simultaneously open queries as requested.

ISfcHasConnection.GetConnection()

检索与后备存储系统的服务器连接。Retrieves the server connection to the backing storage.

 virtual Microsoft::SqlServer::Management::Common::ISfcConnection ^ Microsoft.SqlServer.Management.Sdk.Sfc.ISfcHasConnection.GetConnection() = Microsoft::SqlServer::Management::Sdk::Sfc::ISfcHasConnection::GetConnection;
Microsoft.SqlServer.Management.Common.ISfcConnection ISfcHasConnection.GetConnection ();
Function GetConnection () As ISfcConnection Implements ISfcHasConnection.GetConnection

Returns

ISfcConnection

包含服务器连接的对象。An object that contains the server connection.

Implements

ISfcHasConnection.GetConnection(SfcObjectQueryMode)

检索要查询的当前连接。Retrieves the current connection to query on. 返回支持单个串行查询或者同时打开的多个查询(根据要求)的连接。Returns a connection supporting either a single serial query or multiple simultaneously open queries as requested.

 virtual Microsoft::SqlServer::Management::Common::ISfcConnection ^ Microsoft.SqlServer.Management.Sdk.Sfc.ISfcHasConnection.GetConnection(Microsoft::SqlServer::Management::Sdk::Sfc::SfcObjectQueryMode mode) = Microsoft::SqlServer::Management::Sdk::Sfc::ISfcHasConnection::GetConnection;
Microsoft.SqlServer.Management.Common.ISfcConnection ISfcHasConnection.GetConnection (Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectQueryMode mode);
Function GetConnection (mode As SfcObjectQueryMode) As ISfcConnection Implements ISfcHasConnection.GetConnection

Parameters

mode
SfcObjectQueryMode

连接的模式。The mode of the connection.

Returns

ISfcConnection

要使用的连接, 如果使用缓存模式, 则为 null。The connection to use, or null to use cache mode. 缓存模式避免连接和开放数据读取器问题。Cache mode avoids connection and open data reader issues.

Implements

Applies to