Aerospike LINDPad Driver

AerospikeConnection..::..ObtainMetaData Method

Obtains the meta data from the DB including namespaces, sets, bins, and other DB information.

Namespace:  Aerospike.Database.LINQPadDriver
Assembly:  Aerospike.Database.LINQPadDriver (in Aerospike.Database.LINQPadDriver.dll)

Syntax


public void ObtainMetaData(
	bool obtainBinsInSet,
	bool closeUponCompletion
)

Parameters

obtainBinsInSet
Type: Boolean
if set to true obtain bins in set.
closeUponCompletion
Type: Boolean
if set to true and if the connection is created, it will be closed..

Exceptions


ExceptionCondition
AerospikeException11 - Connection to Cloud Host \"{hostName}\" failed.
AerospikeException11 - Connection to Cloud Host \"{hostName}\" failed or timed out.
AerospikeException11 - Connection to {connectionNode.Name} failed or timed out. Cannot obtain meta-data for cluster.
AerospikeException11 - No active node found in cluster \"{this.Database}\". Tried: {nodes}