Share via


IXEStoreProvider.GetConnection(SfcObjectQueryMode) Method

Definition

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

public Microsoft.SqlServer.Management.Common.ISfcConnection GetConnection (Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectQueryMode mode);
abstract member GetConnection : Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectQueryMode -> Microsoft.SqlServer.Management.Common.ISfcConnection
Public Function GetConnection (mode As SfcObjectQueryMode) As ISfcConnection

Parameters

Returns

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

Applies to