SetRestriction problem in C# - Variant type
i using setrestriction issued certificates, filtering on column requestdisposition value = 20
object filter = 20;
view.setrestriction((int)databasecolumn.requestdisposition, (int)databasecriteriaoperator.equal, (int)databasesortorder.ascending,filter);
i getting exception when trying iterate in view
system.argumentexception: value not fall within expected range.
at certadminlib.ienumcertviewrow.next()
if remove restriction ok. tried pass filter value in different ways, no success.
the interop inter face defined with
[dispid(1610743814)]
public virtual void setrestriction(int columnindex, int seekoperator, int sortorder, ref object pvarvalue);
the com interface defined with
hresult setrestriction( [in] long columnindex, [in] long seekoperator, [in] long sortorder, [in] const variant *pvarvalue );
does know how can specify filter in managed code?
thanks in advance
bfc
i believe should ask question on msdn forums:
http://social.msdn.microsoft.com/forums/en-us/categories
my weblog: http://en-us.sysadmins.lv
powershell pki module: http://pspki.codeplex.com
Windows Server > Security
Comments
Post a Comment