语言

IXEStoreProvider.GetConnection(SfcObjectQueryMode) 方法

定义

获取要查询的当前连接。 返回支持单个串行查询或多个同时按请求打开的查询的连接。

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

参数

返回

要使用的连接,或为 null 以使用缓存模式。 缓存模式可避免连接和打开数据读取器问题。

适用于