Method ConvertPathToStringLimited
- Namespace
- Skyline.DataMiner.DataSources.OpenConfig.Gnmi.Utils
- Assembly
- Skyline.DataMiner.DataSources.OpenConfig.Gnmi.dll
ConvertPathToStringLimited(Path, int, bool)
Converts a limited gNMI PathElem object into a path string.
public static string ConvertPathToStringLimited(Path path, int length, bool doIncludeKeys)
Parameters
path
PathThe path to convert.
length
intThe number of path elements to be included in the result.
doIncludeKeys
boolBoolean indicating if the path element keys need to be added.
Returns
- string
A path string containing the path node names separated by a forward slash '/'.