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)
Syntax
'Declaration
Private Function GetConnection ( _
activeQueriesMode As SfcObjectQueryMode _
) As ISfcConnection Implements ISfcHasConnection.GetConnection
'Usage
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 supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- activeQueriesMode
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectQueryMode
A SfcObjectQueryMode object that specifies the requested query mode.
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.
Implements
ISfcHasConnection.GetConnection(SfcObjectQueryMode)