public static Task DropIndexAsync(this IQueryIndexManager queryIndexManager, string bucketName, string indexName, Action <DropQueryIndexOptions> configureOptions) { var options = new DropQueryIndexOptions(); configureOptions(options); return(queryIndexManager.DropIndexAsync(bucketName, indexName, options)); }
public static Task DropIndexAsync(this IQueryIndexManager queryIndexManager, string bucketName, string indexName) { return(queryIndexManager.DropIndexAsync(bucketName, indexName, DropQueryIndexOptions.Default)); }