Table of Contents

Method GetRow

Namespace
Skyline.DataMiner.Core.DataMinerSystem.Common
Assembly
Skyline.DataMiner.Core.DataMinerSystem.Common.dll

GetRow(string)

Retrieves the row with the specified primary key.

object[] GetRow(string primaryKey)

Parameters

primaryKey string

The primary key of the row.

Returns

object[]

The row formatted as an object array.

Remarks

Make sure the element from which you retrieve the row is active. If it is stopped, an ElementNotFoundException will be thrown.

Exceptions

ArgumentNullException

primaryKey is null.

ArgumentException

The provided value is the empty string ("") or white space.

ParameterNotFoundException

The table parameter was not found.

KeyNotFoundInTableException

The specified primaryKey does not exist in the table.

ElementNotFoundException

The element was not found in the DataMiner System.