Click or drag to resize
IDeviceDefinitionManager.AddCompatibility Method

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

Adds compatibility between a slot and device definition

Namespace: Netadmin.Management.Inventory
Assembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
Syntax
void AddCompatibility(
	long slotdefinitionId,
	long deviceDefinitionId,
	bool autoInstall = false
)

Parameters

slotdefinitionId
Type: System.Int64
The slot definition id
deviceDefinitionId
Type: System.Int64
The device definition id
autoInstall (Optional)
Type: System.Boolean
If the definition should be auto-installed
Exceptions
ExceptionCondition
ObjectNotFoundExceptionThe device and the slot definition must be present in the system .
InvalidIdentifierExceptionThrown if an identifier is zero or less.
ArgumentExceptionThe provided device definition is not of the type Expansion or Both(standalone and expansion)
See Also