Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
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. |