dbregdrop

Description

Drop a registered procedure.

Syntax

RETCODE dbregdrop(dbproc, procedure_name, namelen)

DBPROCESS    *dbproc; 
DBCHAR           *procedure_name;
DBSMALLINT      namelen;

Parameters

dbproc

A pointer to the DBPROCESS structure that provides the connection for a particular front-end/server process. It contains all the information that DB-Library/C uses to manage communications and data between the front end and the server.

procedure_name

A pointer to the name of the registered procedure that the DBPROCESS connection wishes to drop.

namelen

The length of procedure_name, in bytes. If procedure_name is null-terminated, pass namelen as DBNULLTERM.

Returns

SUCCEED, DBNOPROC, or FAIL.

Usage

See also

dbnpcreate, dbreglist