Method TryParse
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
TryParse(string, out DmsServiceId)
Tries to parse the specified string as a DmsServiceId.
public static bool TryParse(string input, out DmsServiceId result)
Parameters
inputstringThe input string to parse. Format: "agentId/serviceId".
resultDmsServiceIdWhen this method returns, contains the parsed DmsServiceId, if the parsing succeeded; otherwise, the default value.
Returns
- bool
trueif the string was parsed successfully; otherwise,false.