AerospikeClientRegister(Policy, String, String, Language) Method

Register package located in a file containing user defined functions with server. This asynchronous server call will return before command is complete. The user can optionally wait for command completion by using the returned RegisterTask instance.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public RegisterTask Register(
	Policy policy,
	string clientPath,
	string serverPath,
	Language language
)

Parameters

policy  Policy
generic configuration parameters, pass in null for defaults
clientPath  String
path of client file containing user defined functions, relative to current directory
serverPath  String
path to store user defined functions on the server, relative to configured script directory.
language  Language
language of user defined functions

Return Value

RegisterTask

Implements

IAerospikeClientRegister(Policy, String, String, Language)

Exceptions

AerospikeExceptionif register fails

See Also