Share via


EventField.Key Constructor (String)

Creates a new instance of the EventField.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 EventField.Key(name)
public Key(
    string name
)
public:
Key(
    String^ name
)
new : 
        name:string -> Key
public function EventField.Key(
    name : String
)

Parameters

See Also

Reference

EventField.Key Class

EventField.Key Overload

Microsoft.SqlServer.Management.XEvent Namespace