Compartilhar via


Construtor TargetField (Target, TargetColumnInfo)

Initializes a new instance of the TargetField class.

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

Sintaxe

'Declaração
Public Sub New ( _
    parent As Target, _
    targetColumnInfo As TargetColumnInfo _
)
'Uso
Dim parent As Target 
Dim targetColumnInfo As TargetColumnInfo 

Dim instance As New TargetField(parent, _
    targetColumnInfo)
public TargetField(
    Target parent,
    TargetColumnInfo targetColumnInfo
)
public:
TargetField(
    Target^ parent, 
    TargetColumnInfo^ targetColumnInfo
)
new : 
        parent:Target * 
        targetColumnInfo:TargetColumnInfo -> TargetField
public function TargetField(
    parent : Target, 
    targetColumnInfo : TargetColumnInfo
)

Parâmetros

Exceções

Exceção Condição
ArgumentNullException

Parameter parent or targetColumnInfo is null.

XEventException

Parameter targetColumnInfo is invalid.

NullReferenceException

targetColumnInfo parent or grandparent is null, often because it is not enumerated correctly.

Consulte também

Referência

TargetField Classe

Sobrecarregado TargetField

Namespace Microsoft.SqlServer.Management.XEvent