IAerospikeClientDropIndex Method

Aerospike
Delete secondary index. This asynchronous server call will return before command is complete. The user can optionally wait for command completion by using the returned IndexTask instance.

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
IndexTask DropIndex(
	Policy policy,
	string ns,
	string setName,
	string indexName
)

Parameters

policy
Type: Aerospike.ClientPolicy
generic configuration parameters, pass in null for defaults
ns
Type: SystemString
namespace - equivalent to database name
setName
Type: SystemString
optional set name - equivalent to database table
indexName
Type: SystemString
name of secondary index

Return Value

Type: IndexTask
Exceptions

ExceptionCondition
AerospikeExceptionif index drop fails
See Also

Reference