DisconnectMultiple(string)
- Updated2026-01-20
- 1 minute(s) read
Breaks the connections between channels specified in disconnection list. If no connections exist between channels, NI-SWITCH returns an error.
Syntax
Namespace: NationalInstruments.ModularInstruments.NISwitch
public void DisconnectMultiple(string disconnectionList)
Parameters
| Name | Type | Description |
|---|---|---|
| disconnectionList | string | Specifies a list of connections between channels to break. NI-SWITCH validates the disconnection list, and aborts execution of the list if errors are returned. |
Exceptions
| Type | Description |
|---|---|
| Ivi.Driver.SelectorNameException | A repeated capability selector is expected, but the driver does not recognise the provided name. |
| Ivi.Swtch.NoSuchPathException | No path exists between two channels. |
| System.ObjectDisposedException | The DisconnectMultiple was accessed after the associated NISwitch object was disposed. |