The EXTFNAPIV4_DESCRIBE_UDF_NUM_PARMS attribute indicates the number of parameters. Used in a describe_udf_set scenario.
a_sql_uint32
The number of parameters supplied to the UDF.
If the UDF sets this property, the server compares the value with the number of parameters supplied in the CREATE PROCEDURE statement. If the two values do not match, the server returns a SQL error. This allows the UDF to ensure the CREATE PROCEDURE statement has the same number of parameters expected by the UDF.
On success, returns the sizeof(a_sql_uint32).
EXTFNAPIV4_DESCRIBE_INVALID_ATTRIBUTE_VALUE – set error returned if the UDF tries to reset the parameter datatype.