Click or drag to resize
IDeviceManagerAttachDeviceAsExpansion Method

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

Attaches an existing device in a slot

Namespace: Netadmin.Management.Inventory
Assembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
Syntax
void AttachDeviceAsExpansion(
	long expansionDeviceId,
	ISlot destinationSlot
)

Parameters

expansionDeviceId
Type: SystemInt64
Device to attach
destinationSlot
Type: Netadmin.Management.Inventory.DtoISlot
Slot in which to attach
Exceptions
ExceptionCondition
ObjectNotFoundExceptionCondition.
CompanyMismatchExceptionBoth devices must belong to the same company
InvalidOperationExceptionDevice is already installed somewhere else
DatabaseInconsistencyException
InvalidIdentifierExceptionThrown if id is zero or less.
ArgumentNullExceptiondestinationSlot is .
CalculationExceptionException during interface name calculation
See Also