共用方式為


EventInfo.Key 建構函式 (String)

Initializes a new instance of the EventInfo.Key class from the name parameter.

命名空間:  Microsoft.SqlServer.Management.XEvent
組件:  Microsoft.SqlServer.Management.XEvent (在 Microsoft.SqlServer.Management.XEvent.dll 中)

語法

'宣告
Public Sub New ( _
    name As String _
)
'用途
Dim name As String 

Dim instance As New EventInfo.Key(name)
public Key(
    string name
)
public:
Key(
    String^ name
)
new : 
        name:string -> Key
public function EventInfo.Key(
    name : String
)

參數

請參閱

參考

EventInfo.Key 類別

EventInfo.Key 多載

Microsoft.SqlServer.Management.XEvent 命名空間