Table of Contents

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 Path

The path to convert.

length int

The number of path elements to be included in the result.

doIncludeKeys bool

Boolean 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 '/'.