Export (0) Print
Expand All

IntegrationServices.ISfcHasConnection.GetConnection Method (SfcObjectQueryMode)

Retrieves the current connection to query on. Returns a connection supporting either a single serial query or multiple simultaneously open queries as requested.

Namespace:  Microsoft.SqlServer.Management.IntegrationServices
Assembly:  Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)

ISfcConnection ISfcHasConnection.GetConnection(
	SfcObjectQueryMode mode
)

Parameters

mode
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectQueryMode
The mode of the connection.

Return Value

Type: ISfcConnection
The connection to use, or null to use cache mode. Cache mode avoids connection and open data reader issues.

Implements

ISfcHasConnection.GetConnection(SfcObjectQueryMode)

Community Additions

ADD
Show:
© 2014 Microsoft