ISfcHasConnection.GetConnection-Methode (SfcObjectQueryMode)
Gets a connection to the instance of the Database Engine serving as a backing store that supports the specified query processing mode.
Namespace: Microsoft.SqlServer.Management.Dac
Assembly: Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)
Syntax
'Declaration
Private Function GetConnection ( _
activeQueriesMode As SfcObjectQueryMode _
) As ISfcConnection Implements ISfcHasConnection.GetConnection
'Usage
Dim instance As DacDomain
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 unterstützt die Verwendung expliziter Schnittstellenimplementierungen, aber nicht die Deklaration neuer Schnittstellenimplementierungen.
Parameter
- activeQueriesMode
Typ: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcObjectQueryMode
An SfcObjectQueryMode that specifies the query processing mode.
Rückgabewert
Typ: Microsoft.SqlServer.Management.Common. . :: . .ISfcConnection
Returns an ISfcConnection object that contains the connection.
Implementiert
ISfcHasConnection. . :: . .GetConnection(SfcObjectQueryMode)
Siehe auch