CopyUserFunction method: AnalyticModelDefn class

Syntax

CopyUserFunction(UserFunctionName, NewUserFunctionName)

Description

Use the CopyUserFunction method to copy the user function specified by UserFunctionName to a new user function. If the user function specified by NewUserFunctionName already exists, this method fails.

Parameters

Parameter Description

UserFunctionName

Specify the name of the user function that you want to copy.

NewUserFunctionName

Specify the name of the new user function that you want to add.

Returns

A UserFunctionDefn object.