Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the TargetInfo object for a pending target.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
Syntax
'Declaration
Public Sub SetTargetInfo ( _
targetInfo As TargetInfo _
)
'Usage
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
)
Parameters
- targetInfo
Type: Microsoft.SqlServer.Management.XEvent.TargetInfo
A TargetInfo object.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The input targetInfo is null. |
XEventException | The Target object is not in pending state. |