Target Constructor (Session, TargetInfo)
Initializes a new instance of the Target class.
Espacio de nombres: Microsoft.SqlServer.Management.XEvent
Ensamblado: Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Sintaxis
'Declaración
Public Sub New ( _
parent As Session, _
targetInfo As TargetInfo _
)
'Uso
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
)
Parámetros
- parent
Tipo: Microsoft.SqlServer.Management.XEvent.Session
The parent Session object.
- targetInfo
Tipo: Microsoft.SqlServer.Management.XEvent.TargetInfo
A TargetInfo object.