Click or drag to resize
IProductLabelManagerSetLabels Method

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

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

Namespace: Netadmin.Management.Order
Assembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
Syntax
void SetLabels(
	IEnumerable<string> newLabels,
	long productId
)

Parameters

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