Returns run-time options for the current remote stored procedure.
DBUSMALLINT srv_rpcoptions ( SRV_PROC * srvproc );
where
A bitmap that contains the run-time flags ORed together for the current remote stored procedure. If there isn't a current remote stored procedure, 0 is returned and a message is generated.
The following table describes each run-time flag:
Run-time flag | Description |
---|---|
SRV_NOMETADATA | The client has requested results without metadata information. This flag is only used when the client is communicating with SQL Server. An Open Data Services application cannot omit the metadata information. |
SRV_RECOMPILE | The client has requested to recompile the remote stored procedure before executing it. This flag might or might not apply to an Open Data Services application. |
This entry | For information about |
---|---|
srv_rpcdb | Returning the database name for the current remote stored procedure |
srv_rpcname | Returning the name for the current remote stored procedure |
srv_rpcnumber | Returning the number for the current remote stored procedure |
srv_rpcowner | Returning the owner of the current remote stored procedure |
srv_rpcparams | Returning the number of parameters for the current remote stored procedure |