Target Constructor (Session, TargetInfo)

Initializes a new instance of the Target class.

Namespace:  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Syntax

'Declaration
Public Sub New ( _
    parent As Session, _
    targetInfo As TargetInfo _
)
'Usage
Dim parent As Session 
Dim targetInfo As TargetInfo 

Dim instance As New Target(parent, _
    targetInfo)
public Target(
    Session parent,
    TargetInfo targetInfo
)
public:
Target(
    Session^ parent, 
    TargetInfo^ targetInfo
)
new : 
        parent:Session * 
        targetInfo:TargetInfo -> Target
public function Target(
    parent : Session, 
    targetInfo : TargetInfo
)

Parameters

See Also

Reference

Target Class

Target Overload

Microsoft.SqlServer.Management.XEvent Namespace