Metodo Server.ISfcHasConnection.GetConnection (SfcObjectQueryMode)
Identificato solo a scopo informativo. Non supportato. Non è garantita la compatibilità con le versioni future. Gets a connection to an Sfc backing store that supports the requested query mode.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Private Function GetConnection ( _
activeQueriesMode As SfcObjectQueryMode _
) As ISfcConnection Implements ISfcHasConnection.GetConnection
'Utilizzo
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 supporta l'utilizzo di implementazioni di interfacce esplicite, ma non la dichiarazione di nuove interfacce.
Parametri
- activeQueriesMode
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectQueryMode
A SfcObjectQueryMode object that specifies the requested query mode.
Valore restituito
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)