Click or drag to resize
IDeviceDefinitionManager.ReplaceMacPrefixesForDefinition Method

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

Replaces all existing mac prefix for a device definition with a new set

Namespace: Netadmin.Management.Inventory
Assembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
Syntax
void ReplaceMacPrefixesForDefinition(
	IEnumerable<string> prefixes,
	long deviceDefinitionId
)

Parameters

prefixes
Type: System.Collections.Generic.IEnumerable<String>
The new prefixes
deviceDefinitionId
Type: System.Int64
The device definition
Exceptions
ExceptionCondition
NonUniqueValueExceptionThe mac prefix must be unique.
InvalidIdentifierExceptionThrown if an id is zero or less.
ArgumentNullExceptionprefixes is null.
ArgumentExceptionThrown if a mac prefix is invalid.
See Also