Target.SetTargetInfo 메서드
Sets the TargetInfo object for a pending target.
네임스페이스: Microsoft.SqlServer.Management.XEvent
어셈블리: Microsoft.SqlServer.Management.XEvent(Microsoft.SqlServer.Management.XEvent.dll)
구문
‘선언
Public Sub SetTargetInfo ( _
targetInfo As TargetInfo _
)
‘사용 방법
Dim instance As Target
Dim targetInfo As TargetInfo
instance.SetTargetInfo(targetInfo)
public void SetTargetInfo(
TargetInfo targetInfo
)
public:
void SetTargetInfo(
TargetInfo^ targetInfo
)
member SetTargetInfo :
targetInfo:TargetInfo -> unit
public function SetTargetInfo(
targetInfo : TargetInfo
)
매개 변수
- targetInfo
유형: Microsoft.SqlServer.Management.XEvent.TargetInfo
A TargetInfo object.
예외
예외 | 조건 |
---|---|
ArgumentNullException | The input targetInfo is null. |
XEventException | The Target object is not in pending state. |