IAerospikeClientDropIndex Method

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.

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
IndexTask DropIndex(
	Policy policy,
	string ns,
	string setName,
	string indexName
)

Parameters

policy  Policy
generic configuration parameters, pass in null for defaults
ns  String
namespace - equivalent to database name
setName  String
optional set name - equivalent to database table
indexName  String
name of secondary index

Return Value

IndexTask

Exceptions

AerospikeExceptionif index drop fails

See Also