ANamespaceAccess..::..Truncate Method (String, InfoPolicy, Nullable<(Of <(<'DateTime>)>)>)
Truncates the Set
Namespace:
Aerospike.Database.LINQPadDriver.ExtensionsAssembly: Aerospike.Database.LINQPadDriver (in Aerospike.Database.LINQPadDriver.dll)
Syntax
Parameters
- setName
- Type: String
The name of the set to be truncated.
- infoPolicy
- Type: InfoPolicy
The InfoPolicy used for the truncate. If not provided, the default is used.
Return Value
True if the set was truncated or false to indicate the set did not exist in the namespace.Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown if the cluster is a production cluster. Can disable this by going into the connection properties. |