ISfcHasConnection.GetConnection ISfcHasConnection.GetConnection ISfcHasConnection.GetConnection Method

Definition

Gets the server connection to the backing storage. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Overloads

GetConnection() GetConnection() GetConnection()

Gets the server connection to the backing storage. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

GetConnection(SfcObjectQueryMode) GetConnection(SfcObjectQueryMode) GetConnection(SfcObjectQueryMode)

Gets the server connection to the backing storage that supports the specified query processing mode Do not reference this member directly in your code. It supports the SQL Server infrastructure.

GetConnection() GetConnection() GetConnection()

Gets the server connection to the backing storage. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

public:
 Microsoft::SqlServer::Management::Common::ISfcConnection ^ GetConnection();
public Microsoft.SqlServer.Management.Common.ISfcConnection GetConnection ();
Public Function GetConnection () As ISfcConnection
Returns
Microsoft.SqlServer.Management.Common.ISfcConnection Microsoft.SqlServer.Management.Common.ISfcConnection Microsoft.SqlServer.Management.Common.ISfcConnection

An Microsoft.SqlServer.Management.Common.ISfcConnection object that contains the server connection.

GetConnection(SfcObjectQueryMode) GetConnection(SfcObjectQueryMode) GetConnection(SfcObjectQueryMode)

Gets the server connection to the backing storage that supports the specified query processing mode Do not reference this member directly in your code. It supports the SQL Server infrastructure.

public:
 Microsoft::SqlServer::Management::Common::ISfcConnection ^ GetConnection(Microsoft::SqlServer::Management::Sdk::Sfc::SfcObjectQueryMode activeQueriesMode);
public Microsoft.SqlServer.Management.Common.ISfcConnection GetConnection (Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectQueryMode activeQueriesMode);
Public Function GetConnection (activeQueriesMode As SfcObjectQueryMode) As ISfcConnection
Parameters
activeQueriesMode
SfcObjectQueryMode SfcObjectQueryMode SfcObjectQueryMode

An SfcObjectQueryMode value that specifies the query processing mode.

Returns
Microsoft.SqlServer.Management.Common.ISfcConnection Microsoft.SqlServer.Management.Common.ISfcConnection Microsoft.SqlServer.Management.Common.ISfcConnection

An Microsoft.SqlServer.Management.Common.ISfcConnection object that contains the server connection.

Applies to