Create an Add Record Operation.
Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Shared Function Add( _ ByVal rec As NetricsRecord _ ) As NetricsRecOp |
| C# |
|---|
| public static NetricsRecOp Add( NetricsRecord rec ) |
| C++ |
|---|
| public: static NetricsRecOp Add( NetricsRecord rec ) |
| J# |
|---|
| public static NetricsRecOp Add( NetricsRecord rec ) |
| JScript |
|---|
| public static
function Add( rec : NetricsRecord ) : NetricsRecOp |
Parameters
- rec
- the record to be added.
Return Value
a new NetricsRecOp object.
Remarks
A record add operation adds a new record to the TIBCO® Patterns - Search table. If a record with the same key already exists the operation fails. If the do max work flag is set these failures are quietly ignored.