SOE开发之IMapServerSourceDescription

Classes that implement IMapServerSourceDescription

ClassesDescription
JoinTableSourceDescription A coclass that contains settings of a join that the table is participating.
MapTableSourceDescription A coclass that contains settings to describe the source of the table.
QueryTableDataSourceDescription A coclass that contains settings to describe a dynamic table from registered workspace by providing SQL statement.
RasterDataSourceDescription A coclass that contains settings to describe a dynamic raster from a registered workspace.
TableDataSourceDescription A coclass that contains settings to describe a dynamic table from registered workspace.

IMapServerSourceDescription mapServerSourceDesc = new TableDataSourceDescriptionClass();

参考:https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#IMapServerSourceDescription.htm

如何配置数据源:

 

参考:https://www.cnblogs.com/tianyiwuying/p/6637918.html

{
 "source":{
  "type":"dataLayer",
  "dataSource":{
   "dataSourceName":"Counties.shp",
   "workspaceId":"MyShp",
   "type":"table"
  }
 },
 "id":99
}
原文地址:https://www.cnblogs.com/2008nmj/p/15739881.html