Метод CollectorConfigStore.ISfcHasConnection.GetConnection

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

Пространство имен:  Microsoft.SqlServer.Management.Collector
Сборка:  Microsoft.SqlServer.Management.Collector (в Microsoft.SqlServer.Management.Collector.dll)

Синтаксис

'Декларация
Private Function GetConnection As ISfcConnection 
    Implements ISfcHasConnection.GetConnection
'Применение
Dim instance As CollectorConfigStore 
Dim returnValue As ISfcConnection 

returnValue = CType(instance, ISfcHasConnection).GetConnection()
ISfcConnection ISfcHasConnection.GetConnection()
private:
virtual ISfcConnection^ GetConnection() sealed = ISfcHasConnection::GetConnection
private abstract GetConnection : unit -> ISfcConnection  
private override GetConnection : unit -> ISfcConnection
JScript поддерживает использование явных реализаций интерфейса, но не объявление новых.

Возвращаемое значение

Тип: Microsoft.SqlServer.Management.Common.ISfcConnection
Returns ISfcConnection. An ISfcConnection object that contains the server connection.

Реализует

ISfcHasConnection.GetConnection()

См. также

Справочник

CollectorConfigStore Класс

Перегрузка GetConnection

Пространство имен Microsoft.SqlServer.Management.Collector