Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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. |