XEStore.ISfcHasConnection.SetConnection 方法

Sets the active connection.

命名空间:  Microsoft.SqlServer.Management.XEvent
程序集:  Microsoft.SqlServer.Management.XEvent(在 Microsoft.SqlServer.Management.XEvent.dll 中)

语法

声明
Private Sub SetConnection ( _
    connection As ISfcConnection _
) Implements ISfcHasConnection.SetConnection
用法
Dim instance As XEStore 
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 支持使用显式接口实现,但不支持声明新显式接口实现。

参数

实现

ISfcHasConnection.SetConnection(ISfcConnection)

请参阅

参考

XEStore 类

Microsoft.SqlServer.Management.XEvent 命名空间