Server.ISfcHasConnection.GetConnection Method (SfcObjectQueryMode)

Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. Gets a connection to an Sfc backing store that supports the requested query mode.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)


Private Function GetConnection ( _
    activeQueriesMode As SfcObjectQueryMode _
) As ISfcConnection Implements ISfcHasConnection.GetConnection
Dim instance As Server
Dim activeQueriesMode As SfcObjectQueryMode
Dim returnValue As ISfcConnection

returnValue = CType(instance, ISfcHasConnection).GetConnection(activeQueriesMode)
ISfcConnection ISfcHasConnection.GetConnection(
    SfcObjectQueryMode activeQueriesMode
virtual ISfcConnection^ GetConnection(
    SfcObjectQueryMode activeQueriesMode
) sealed = ISfcHasConnection::GetConnection
private abstract GetConnection : 
        activeQueriesMode:SfcObjectQueryMode -> ISfcConnection 
private override GetConnection : 
        activeQueriesMode:SfcObjectQueryMode -> ISfcConnection 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.


Return Value

Type: Microsoft.SqlServer.Management.Common.ISfcConnection
A ISfcConnection object representing the connection to an Sfc backing store that supports the requested query mode.