CollectorConfigStore.ISfcHasConnection.GetConnection Método
Gets the server connection to the backing storage. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Espacio de nombres: Microsoft.SqlServer.Management.Collector
Ensamblado: Microsoft.SqlServer.Management.Collector (en Microsoft.SqlServer.Management.Collector.dll)
Sintaxis
'Declaración
Private Function GetConnection As ISfcConnection
Implements ISfcHasConnection.GetConnection
'Uso
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 admite el uso de implementaciones de interfaces explícitas, pero no la declaración de otras nuevas.
Valor devuelto
Tipo: Microsoft.SqlServer.Management.Common.ISfcConnection
Returns ISfcConnection. An ISfcConnection object that contains the server connection.
Implementa
ISfcHasConnection.GetConnection()