Method Delete
- Namespace
- Skyline.DataMiner.DataSources.OpenConfig.Gnmi.Api
- Assembly
- Skyline.DataMiner.DataSources.OpenConfig.Gnmi.dll
Delete(string)
Deletes a path from the data tree. When the path is specified to an element that has children, these children will be recursively deleted.
public void Delete(string path)
Parameters
path
stringThe path to delete.
Exceptions
- ArgumentException
The path argument cannot be null, empty, or a whitespace.
Delete(Path)
Deletes a path from the data tree. When the path is specified to an element that has children, these children will be recursively deleted.
public void Delete(Path path)
Parameters
path
PathThe path to delete.
Exceptions
- ArgumentNullException
The path argument cannot be null.
- RequestFailedException
An exception was thrown by the DxM.