Método ISfcHasConnection.GetConnection (SfcObjectQueryMode)
Gets the server connection to the backing storage that supports the specified query processing mode.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxe
'Declaração
Function GetConnection ( _
activeQueriesMode As SfcObjectQueryMode _
) As ISfcConnection
'Uso
Dim instance As ISfcHasConnection
Dim activeQueriesMode As SfcObjectQueryMode
Dim returnValue As ISfcConnection
returnValue = instance.GetConnection(activeQueriesMode)
ISfcConnection GetConnection(
SfcObjectQueryMode activeQueriesMode
)
ISfcConnection^ GetConnection(
SfcObjectQueryMode activeQueriesMode
)
abstract GetConnection :
activeQueriesMode:SfcObjectQueryMode -> ISfcConnection
function GetConnection(
activeQueriesMode : SfcObjectQueryMode
) : ISfcConnection
Parâmetros
- activeQueriesMode
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectQueryMode
An SfcObjectQueryMode value that specifies the query processing mode.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Common.ISfcConnection
An ISfcConnection object that contains the server connection.