AerospikeClient Register Method (Policy, Assembly, String, String, Language)Aerospike
Register package located in a resource 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.

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 4.2.1.0 (4.2.1)
Syntax

Parameters

policy
Type: Aerospike.Client Policy
generic configuration parameters, pass in null for defaults
resourceAssembly
Type: System.Reflection Assembly
assembly where resource is located. Current assembly can be obtained by: Assembly.GetExecutingAssembly()
resourcePath
Type: System String
namespace path where Lua resource is located. Example: Aerospike.Client.Resources.mypackage.lua
serverPath
Type: System String
path to store user defined functions on the server, relative to configured script directory.
language
Type: Aerospike.Client Language
language of user defined functions

Implements

IAerospikeClient Register(Policy, Assembly, String, String, Language)
Exceptions

See Also