Gets the specified attribute value of the record.
Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Function getAttribute( _ ByVal attr_name As String _ ) As String _ Implements INetricsRecord.getAttribute |
| C# |
|---|
| public string getAttribute( string attr_name ) |
| C++ |
|---|
| public: String getAttribute( String attr_name ) sealed |
| J# |
|---|
| public string getAttribute( string attr_name ) |
| JScript |
|---|
| public
function getAttribute( attr_name : String ) : String |
Parameters
- attr_name
- Name of the attribute to retrieve.
Implements
INetricsRecord.getAttribute
Remarks
This assumes the last field of the record contains the encoded attribute values and attempts to decode them. If the decode fails it returns null, otherwise it attempts to retrieve the named attributes, returning the value if found, null if not.