ITicketFlowActionManagerSetLabels Method |
[This is preliminary documentation and is subject to change.]
Sets the available Ticket Labels for this action. This is not a delta operation,
previously configured labels not included in the call will be removed
Namespace: Netadmin.Management.TicketingAssembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
Syntaxvoid SetLabels(
long actionId,
IEnumerable<string> labels
)
Sub SetLabels (
actionId As Long,
labels As IEnumerable(Of String)
)
Parameters
- actionId
- Type: SystemInt64
The id of the action to set labels for - labels
- Type: System.Collections.GenericIEnumerableString
The labels to add.
Will be truncated to a maximum length of 20 characters
ExceptionsException | Condition |
---|
ArgumentException | Thrown if any label is null, empty or contain only whitespace characters |
InvalidIdentifierException | Thrown if actionid is invalid |
ObjectNotFoundException | Thrown if action does not exist |
ArgumentNullException | Thrown if labels is null |
See Also