C# soe 获取 本服务的FeatureClass
搭建好的soe 环境中,通过IMapServer3直接获取featureclass
int index = 0; //0,1,2,... IMapServer3 mapServer = (IMapServer3)serverObjectHelper.ServerObject; IMapServerDataAccess dataAccess = (IMapServerDataAccess)mapServer; var FeatureClass = (IFeatureClass)dataAccess.GetDataSource(mapServer.DefaultMapName, index);