Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Sets the TargetInfo object for a pending target.
Espace de noms : Microsoft.SqlServer.Management.XEvent
Assembly : Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Syntaxe
'Déclaration
Public Sub SetTargetInfo ( _
targetInfo As TargetInfo _
)
'Utilisation
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
)
Paramètres
- 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. |