Share via


Target.Key Constructor (String)

Initializes a new instance of the Target.Key class.

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

Parameters

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

See Also

Reference

Target.Key Class

Target.Key Overload

Microsoft.SqlServer.Management.XEvent Namespace