Share via


TargetField.Key Constructor (String)

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

Parameters

  • name
    Type: System.String
    A string value that specifies the name.

See Also

Reference

TargetField.Key Class

TargetField.Key Overload

Microsoft.SqlServer.Management.XEvent Namespace