Click or drag to resize
ITicketLabelManagerSetLabelsForTicket Method

[This is preliminary documentation and is subject to change.]

Sets the labels for a ticket, adding new ones and removing ones not being set

Namespace: Netadmin.Management.Ticketing
Assembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
Syntax
void SetLabelsForTicket(
	List<string> newLabels,
	long ticketId
)

Parameters

newLabels
Type: System.Collections.GenericListString
The labels to set
ticketId
Type: SystemInt64
The ticket id
Exceptions
ExceptionCondition
ObjectNotFoundExceptionThe ticket label must be present in the system.
NonUniqueValueExceptionName
ArgumentExceptionThe value of the ticket identifier must be greater than zero.
ArgumentNullExceptionnewLabels is .
InvalidIdentifierExceptionThrown if an identifier is zero or lower
See Also