Click or drag to resize
IDriverManagerAddOrUpdateDriverCode Method

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

Add or update driver code for a specific driver

Namespace: Netadmin.Management.Drivers
Assembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
Syntax
long AddOrUpdateDriverCode(
	IDriverCode code
)

Parameters

code
Type: Netadmin.Management.Drivers.DtoIDriverCode
The code to be added to the driver

Return Value

Type: Int64
Id of the created code version
Exceptions
ExceptionCondition
ArgumentExceptionThrown if id is zero or lower
ArgumentExceptionThrown if code length exceeds 65535 chars
ObjectNotFoundExceptionThrown if the id of the entity is not found
Remarks
If the actual code has changed with regard to the previous version, a new version will be added
See Also