Método Target.SetTargetInfo
Sets the TargetInfo object for a pending target.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (em Microsoft.SqlServer.Management.XEvent.dll)
Sintaxe
'Declaração
Public Sub SetTargetInfo ( _
targetInfo As TargetInfo _
)
'Uso
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
)
Parâmetros
- targetInfo
Tipo: Microsoft.SqlServer.Management.XEvent.TargetInfo
A TargetInfo object.
Exceções
Exceção | Condição |
---|---|
ArgumentNullException | The input targetInfo is null. |
XEventException | The Target object is not in pending state. |