contents   index   previous   next



Stproc close()

syntax:

stproc.close()

return:

number - 0 if the call was successful; otherwise, a nonzero status code based on the error message produced by the database. If the method returns a nonzero status code, use the associated Database's majorErrorCode and majorErrorMessage methods to interpret the meaning of the error.

 

description:

This method closes an Stproc object and releases the memory it uses. If an Stproc object is not explicitly closed with the close method, the runtime engine automatically it when the corresponding database object goes out of scope.

 

see:

#link <sedbc>, Database majorErrorCode(), Database minorErrorCode()

 

example:

// Close down the Stproc

err = sp.close();

 


Stproc parameterName()