我的github

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
}

 

posted on 2021-12-28 11:19  XiaoNiuFeiTian  阅读(47)  评论(0编辑  收藏  举报