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
- name
Type: System.String
The name of the XEvent as string.