docs.intersystems.com
Home  /  Application Development: Core Topics  /  Class Definition Reference  /  Method Keywords  /  ExternalProcName


Class Definition Reference
ExternalProcName
[Back]  [Next] 
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