Condividi tramite


Metodo ISfcHasConnection.SetConnection

Indicates the connection to set.

Spazio dei nomi  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Sintassi

'Dichiarazione
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Private Sub SetConnection ( _
    connection As ISfcConnection _
) Implements ISfcHasConnection.SetConnection
'Utilizzo
Dim instance As PolicyStore
Dim connection As ISfcConnection

CType(instance, ISfcHasConnection).SetConnection(connection)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
void ISfcHasConnection.SetConnection(
    ISfcConnection connection
)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
private:
virtual void SetConnection(
    ISfcConnection^ connection
) sealed = ISfcHasConnection::SetConnection
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
private abstract SetConnection : 
        connection:ISfcConnection -> unit 
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
private override SetConnection : 
        connection:ISfcConnection -> unit 
JScript supporta l'utilizzo di implementazioni di interfacce esplicite, ma non la dichiarazione di nuove interfacce.

Parametri

Implementa

ISfcHasConnection. . :: . .SetConnection(ISfcConnection)