Table of Contents

Method GetTablePrimaryKeys

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

GetTablePrimaryKeys(int)

Gets the primary keys of the specified table.

string[] GetTablePrimaryKeys(int tablePid)

Parameters

tablePid int

The ID of the table or column parameter.

Returns

string[]

The primary keys of the specified table.

GetTablePrimaryKeys(string)

Gets the primary keys of the specified table.

note

Please use an overload that takes the parameter ID instead to prevent issues in case the parameter Description changes.

[Obsolete("Use overloads with parameter ID instead of name.")]
string[] GetTablePrimaryKeys(string tableParameterName)

Parameters

tableParameterName string

The name of the table or column parameter.

Returns

string[]

The primary keys of the specified table.

Remarks

The specified value for the tableParameterName argument should be the value of the Description tag of the parameter and not the value of the Name tag.