Set the value of the parent key index.


Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)

Syntax

Visual Basic (Declaration)
Public Sub setParentKeyIndex( _ 
   ByVal parentKeyIndex As Integer _ 
)
C#
public void setParentKeyIndex(
   int parentKeyIndex
)
C++
public:
 void setParentKeyIndex(
   int parentKeyIndex
) sealed 
J#
public void setParentKeyIndex(
   int parentKeyIndex
)
JScript
public  function setParentKeyIndex(
   parentKeyIndex : int
)

Exceptions

Exception TypeCondition
InvalidOperationExceptionthrown if parent key is already specified by name

Remarks

This sets the index (zero based) of the field that holds the parent record key value. This field is used as the record key and is NOT loaded as a data field. Use -1 to indicate that no key index is specified.

See Also