While attempting to automate the writing of records to the reviewer table utilizing the GP tool Write To Reviewer Table, is there an object type that is acceptable input for the in_reviewer_workspace parameter?
I have tried IWorkspace, IFeatureWorkspace, ISqlWorkspace, and a direct Catalog path to a connection file. The path is the only thing that has been successful. All other input objects return invalid parameter type for in_reviewer_workspace.
I am developing in C# at 10.3.1:
gp5.AddToolbox(@C:\Program Files (x86)\ArcGIS\ArcGISDataReviewer\Desktop10.3\ArcToolbox\Toolboxes\Data Reviewer Tools.tbx);
gp5.OverwriteOutput = true;
IVariantArray parameterswritedr = new VarArrayClass();
parameterswritedr.Add();
parameterswritedr.Add("Session " + drsessionid + " : " + sessionname);
parameterswritedr.Add(featurestowritetodr);
parameterswritedr.Add("OBJECTID");
parameterswritedr.Add("originname");
parameterswritedr.Add("reviewstatus");
gp5.Execute("WriteToReviewerTable", parameterswritedr, null);