Subscribe

.NET binding and building a query

Hi,

 

I'm trying to create a query in VS2013 with .NET bindings.  But the query never gets applied.  I always get all items and never a filtered subset.

 

VolumeGetIter vols = new VolumeGetIter();

vols.Query = new VolumeAttributes();

vols.Query.VolumeIdAttributes = new VolumeIdAttributes();

vols.Query.VolumeIdAttributes.OwningVserverName="myverserver";

vols.MaxRecords = 20;

vols.Tag = tag;

VolumeGetIterResult volsResult = vols.Invoke(cluster);

 

I tried filtering on .Name as well.  But volsResult always returns all volumes until MaxRecords is reached.

 

Any help would be appreciated.

Re: .NET binding and building a query

Same issue here.

MaxRecords is honored, but not the query.