Method GetStandaloneParameter
- Namespace
- Skyline.DataMiner.Core.DataMinerSystem.Common
- Assembly
- Skyline.DataMiner.Core.DataMinerSystem.Common.dll
GetStandaloneParameter<T>(int)
Gets the specified standalone parameter.
IDmsStandaloneParameter<T> GetStandaloneParameter<T>(int parameterId)
Parameters
parameterId
intThe parameter ID.
Returns
- IDmsStandaloneParameter<T>
The standalone parameter that corresponds with the specified ID.
Type Parameters
T
The type of the parameter. Currently supported types: int?, double?, DateTime? and string.
Exceptions
- ArgumentException
parameterId
is invalid.- ElementNotFoundException
The element was not found in the DataMiner System.
- ElementStoppedException
The element is not active.
- NotSupportedException
A type other than string, int?, double? or DateTime? was provided.