docs.intersystems.com
Home / Class Definition Reference / Method Keywords / ExternalProcName


Class Definition Reference
ExternalProcName
Previous section           Next section
InterSystems: The power behind what matters   
Search:  


Specifies the name of this method when it is used as a stored procedure in a foreign database. Applies only if the method is projected as a stored procedure.
Usage
To override the default name of the method when it is used as a stored procedure in a foreign database, use the following syntax:
ClassMethod name(formal_spec) As returnclass [ SqlProc, ExternalProcName = MyProcedure ] 
{    //implementation }
Where MyProcedure is an unquoted string.
Details
This keyword lets you define the name to use for this method when it is used as a stored procedure in a foreign database.
Default
If you omit this keyword, the method name is used as the stored procedure name.
See Also


Previous section           Next section
View this book as PDF
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-02-22 00:52:40