다음을 통해 공유


TargetField 생성자 (Target, TargetColumnInfo)

Initializes a new instance of the TargetField class.

네임스페이스:  Microsoft.SqlServer.Management.XEvent
어셈블리:  Microsoft.SqlServer.Management.XEvent(Microsoft.SqlServer.Management.XEvent.dll)

구문

‘선언
Public Sub New ( _
    parent As Target, _
    targetColumnInfo As TargetColumnInfo _
)
‘사용 방법
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
)

매개 변수

예외

예외 조건
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.

참고 항목

참조

TargetField 클래스

TargetField 오버로드

Microsoft.SqlServer.Management.XEvent 네임스페이스