Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client C API Programmer's Guide | API Reference | awGet | awGetSequenceFieldSize
 
awGetSequenceFieldSize
BrokerError awGetSequenceFieldSize(
BrokerEvent event,
char *field_name,
int *size);
event
The event whose sequence field size is to be obtained.
field_name
Name of the sequence field.
size
Number of elements in the sequence. This parameter is used for output.
Obtains the number of elements in the sequence specified by field_name. See Specifying Field Names for complete information on specifying field_name.
Possible BrokerError major codes
Meaning
AW_ERROR_FIELD_NOT_FOUND
The field_name does not exist in the event.
AW_ERROR_FIELD_TYPE_MISMATCH
The field is not a sequence or the field_name incorrectly accesses a type.
AW_ERROR_INVALID_EVENT
The event is invalid.
AW_ERROR_INVALID_FIELD_NAME
The field_name is invalid.
AW_ERROR_NULL_PARAM
The parameter field_name or size is NULL.
See also: