 | ZWManagerRemoveDriver Method |
Removes the driver for a Z-Wave controller, and closes the serial port.
Namespace:
OpenZWave
Assembly:
OpenZWave (in OpenZWave.dll) Version: 255.255.255.255
Syntaxpublic bool RemoveDriver(
string serialPortName
)
Public Function RemoveDriver (
serialPortName As String
) As Boolean
public:
virtual bool RemoveDriver(
[InAttribute] String^ serialPortName
) sealed
Parameters
- serialPortName
- Type: SystemString
The same string as was passed in the original call to AddDriver.
Return Value
Type:
BooleanTrue if the driver was removed, false if it could not be found.
Remarks
Drivers do not need to be explicitly removed before calling Destroy - this is handled automatically.
See AlsoReference
[!:AddDriver(serialPortName)]