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: Microsoft.SqlServer.Management.Common.ISfcConnection

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

Return to top
Show: