Share via


Event.Key Constructor (String)

Initializes a new instance of Event.Key class from the name of the XEvent object.

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

Syntax

'Declaration
Public Sub New ( _
    name As String _
)
'Usage
Dim name As String 

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

Parameters

See Also

Reference

Event.Key Class

Event.Key Overload

Microsoft.SqlServer.Management.XEvent Namespace