Server.ISfcHasConnection.GetConnection Método (SfcObjectQueryMode)
Solamente se identifica con fines informativos. No compatible. La compatibilidad con versiones posteriores no está garantizada. Gets a connection to an Sfc backing store that supports the requested query mode.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Private Function GetConnection ( _
activeQueriesMode As SfcObjectQueryMode _
) As ISfcConnection Implements ISfcHasConnection.GetConnection
'Uso
Dim instance As Server
Dim activeQueriesMode As SfcObjectQueryMode
Dim returnValue As ISfcConnection
returnValue = CType(instance, ISfcHasConnection).GetConnection(activeQueriesMode)
ISfcConnection ISfcHasConnection.GetConnection(
SfcObjectQueryMode activeQueriesMode
)
private:
virtual ISfcConnection^ GetConnection(
SfcObjectQueryMode activeQueriesMode
) sealed = ISfcHasConnection::GetConnection
private abstract GetConnection :
activeQueriesMode:SfcObjectQueryMode -> ISfcConnection
private override GetConnection :
activeQueriesMode:SfcObjectQueryMode -> ISfcConnection
JScript admite el uso de implementaciones de interfaces explícitas, pero no la declaración de otras nuevas.
Parámetros
- activeQueriesMode
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectQueryMode
A SfcObjectQueryMode object that specifies the requested query mode.
Valor devuelto
Tipo: Microsoft.SqlServer.Management.Common.ISfcConnection
A ISfcConnection object representing the connection to an Sfc backing store that supports the requested query mode.
Implementa
ISfcHasConnection.GetConnection(SfcObjectQueryMode)