Share via


EventInfo.Key Constructor (String)

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

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 EventInfo.Key(name)
public Key(
    string name
)
public:
Key(
    String^ name
)
new : 
        name:string -> Key
public function EventInfo.Key(
    name : String
)

Parameters

See Also

Reference

EventInfo.Key Class

EventInfo.Key Overload

Microsoft.SqlServer.Management.XEvent Namespace