Click or drag to resize

IAdvancedOperationsCreateFunction Method

Installs the user-defined function with the given name and type from the given library file name.

Namespace:  SphinxConnector.FluentApi
Assembly:  SphinxConnector (in SphinxConnector.dll) Version: 5.3.0
Syntax
void CreateFunction(
	string functionName,
	string libraryfileName,
	UdfReturnType returnType
)

Parameters

functionName
Type: SystemString
The name under which the function is registered.
libraryfileName
Type: SystemString
The name of the library file that contains the function.
returnType
Type: SphinxConnector.FluentApiUdfReturnType
The type that is returned from the function.
Exceptions
ExceptionCondition
ArgumentExceptionOccurs if functionName or libraryfileName is empty.
ArgumentNullExceptionOccurs if functionName or libraryfileName is null.
See Also