RenameUserFunction method: AnalyticModelDefn class

Syntax

RenameUserFunction(UserFunctionName, NewUserFunctionName, ForceRename)

Description

Use the RenameUserFunction method to rename the user function specified by UserFunctionName to the new name NewUserFunctionName.

Parameters

Parameter Description

UserFunctionName

Specify the name of the user function you want to rename.

NewUserFunctionName

Specify the new name for the user function.

ForceRename

Specify if the user function should always be renamed. This parameter takes a Boolean value. If you specify ForceRename as false, and the user function is used by another part this method fails. If you specify ForceRename as true, and the user function is used by another part, the user function is still renamed.

Returns

None.