Table of Contents

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

input string

The input string to parse. Format: "agentId/serviceId".

result DmsServiceId

When this method returns, contains the parsed DmsServiceId, if the parsing succeeded; otherwise, the default value.

Returns

bool

true if the string was parsed successfully; otherwise, false.