IAdvanced OperationsCreate Function Method
Installs the user-defined function with the given name and type from the given library file name.
Definition
Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
void CreateFunction(
string functionName,
string libraryfileName,
UdfReturnType returnType
)VB
Sub CreateFunction (
functionName As String,
libraryfileName As String,
returnType As UdfReturnType
)Parameters
- functionName String
- The name under which the function is registered.
- libraryfileName String
- The name of the library file that contains the function.
- returnType UdfReturnType
- The type that is returned from the function.
Exceptions
| ArgumentException | Occurs if functionName or libraryfileName is empty. |
| ArgumentNullException | Occurs if functionName or libraryfileName is null. |