Set the value of the key name.


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

Syntax

Visual Basic (Declaration)
Public Sub setKeyName( _ 
   ByVal keyName As String _ 
)
C#
public void setKeyName(
   string keyName
)
C++
public:
 void setKeyName(
   String keyName
) sealed 
J#
public void setKeyName(
   string keyName
)
JScript
public  function setKeyName(
   keyName : String
)

Exceptions

Exception TypeCondition
InvalidOperationExceptionthrown if key is already specified by index

Remarks

This sets the name of the field that holds the record key value. This field is used as the record key and in NOT loaded as a data field. Use null to indicate that no key name is specified.

See Also