Click or drag to resize
IDeviceDefinitionManagerRemoveDeviceCompatibility Method

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

Removes compatibility between a device definition and slot definition

Namespace: Netadmin.Management.Inventory
Assembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
Syntax
void RemoveDeviceCompatibility(
	long deviceDefinitionId,
	long slotDefinitionId
)

Parameters

deviceDefinitionId
Type: SystemInt64
The device definition id
slotDefinitionId
Type: SystemInt64
The slot definition id
Exceptions
ExceptionCondition
ObjectNotFoundExceptionThe device definition must be present in the system..
ObjectDeletionNotAllowedExceptionThe compatibility can not be removed, because there is a device of this definition installed in a compatible slot
InvalidIdentifierExceptionThrown if an id is zero or less.
See Also