I want to display my geodata stored in the arcgis server.
I did the connection to the server but the problem is the parameter
versionName. I will not use arcSDE so I have ignored
versionName. Can someone help me to find the solution?
ESRI.ArcGIS.GISClient.IAGSServerObject so = GetSelectedServerProxy(); ESRI.ArcGIS.GeoDatabaseDistributed.IGeoDataServer gdso = (ESRI.ArcGIS.GeoDatabaseDistributed.IGeoDataServer)so; //++ Queries for subfields if the Get Fields checkbox is enabled ESRI.ArcGIS.Geodatabase.IQueryFilter qf = new ESRI.ArcGIS.Geodatabase.QueryFilterClass(); qf.WhereClause = ""; //++ based on the start index and count entered. ESRI.ArcGIS.Geodatabase.IResultPortionInfo range = new ESRI.ArcGIS.Geodatabase.ResultPortionInfoClass(); range.StartIndex = 0; range.Count = 500; //++ Run a tablesearch based on the version, table name, fields selected, startindex and count ESRI.ArcGIS.GeoDatabaseDistributed.IGDSQueryResultPortion res = gdso.TableSearch(versionName,"tabl", qf, range);