مشاركة عبر


CollectorConfigStore.ISfcHasConnection.SetConnection Method

Sets the active connection for the domain root. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

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

Syntax

'Declaration
Private Sub SetConnection ( _
    connection As ISfcConnection _
) Implements ISfcHasConnection.SetConnection
'Usage
Dim instance As CollectorConfigStore 
Dim connection As ISfcConnection 

CType(instance, ISfcHasConnection).SetConnection(connection)
void ISfcHasConnection.SetConnection(
    ISfcConnection connection
)
private:
virtual void SetConnection(
    ISfcConnection^ connection
) sealed = ISfcHasConnection::SetConnection
private abstract SetConnection : 
        connection:ISfcConnection -> unit  
private override SetConnection : 
        connection:ISfcConnection -> unit
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

Implements

ISfcHasConnection.SetConnection(ISfcConnection)

See Also

Reference

CollectorConfigStore Class

Microsoft.SqlServer.Management.Collector Namespace