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: 6.0.0
Syntax
void CreateFunction(
	string functionName,
	string libraryfileName,
	UdfReturnType returnType
)

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
ExceptionCondition
ArgumentExceptionOccurs if functionName or libraryfileName is empty.
ArgumentNullExceptionOccurs if functionName or libraryfileName is null.
See Also