Target.SetTargetInfo Método
Sets the TargetInfo object for a pending target.
Espacio de nombres: Microsoft.SqlServer.Management.XEvent
Ensamblado: Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Sintaxis
'Declaración
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.
Excepciones
Excepción | Condición |
---|---|
ArgumentNullException | The input targetInfo is null. |
XEventException | The Target object is not in pending state. |