ArcGIS help translation

Service configuration files

Release 9.3

The properties of service configurations are maintained in a file for each configuration in the GIS server's cfg directory(每个服务的属性被保存在GIS服务器的cfg目录下的一个配置文件里,例如:C:\Program Files\ArcGIS\server\user\cfg\zhyxk.MapServer.cfg). When you add a new service configuration to the GIS server, a new configuration file is automatically created(当你在服务器上添加一个新的服务,一个新的配置文件自动创建). When a configuration is deleted, its configuration file is deleted from the cfg directory(当一个服务删除了,它的的配置文件也自动删除了).

The name of a service configuration file follows the pattern <configuration name>.<service type>.cfg. For example, the map service Redlands would have the name Redlands.MapServer.cfg.

It's possible to add a configuration to the GIS server by manually creating a configuration file in the cfg directory, and it's possible to delete a configuration by deleting its file from the cfg directory. In both cases, the new or deleted configuration will not be recognized by the server until the server object manager (SOM) is restarted. If the SOM encounters a corrupted configuration file, the SOM will log a warning and ignore the configuration.

If you edit a service configuration file manually, you must also restart the SOM for the changes to take effect(如果你编辑了服务配置文件,你必须重新启动SOM服务来使改动生效).

_________________________________________________________________________________________________________________

ArcGIS Developer Help  (ESRI.ArcGIS.Carto)  

IFeatureLayerDefinition Interface

Provides access to members that define a subset of the features from the underlying feature class. Note: the IFeatureLayerDefinition interface has been superseded by IFeatureLayerDefinition2. Please consider using the more recent version

Remarks

Use this interface to set a definition query on a layer so that only the features that meet the specified criteria are displayed (使用这个接口来设置一个在图层上的查询来显示满足指定条件的features 。featurelayer上的接口,featurelayer控制featureclass显示的类,而featureclass是数据源,是shpfile在内存中的体现). Use DefinitionExpression to access the definition query.
Also, you can use CreateSelectionLayer to create a new FeatureLayer based on an existing FeatureLayer's selected features. In the ArcMap user documentation and interface this new layer is called a selection layer.

You can use RelationshipClass to access the the relationship class, if one exists, that defines the relationship between the layer and the table that is joined to it. This same object can be accessed through IDisplayRelationshipClass::RelationshipClass. IDisplayRelationshipClass can be more convenient because it has multiple additionl methods and properties for working with layer joins.

_______________________________________________________________________________________________________________________

Which Type of Query Should I Use?

Three common interfaces for querying geodatabase objects are the IQueryFilter, ISpatialFilter, and IQueryDef interfaces.  Each one has different capabilities, as the following table shows:
 
Requirement
IQueryFilter
ISpatialFilter
IQueryDef
Apply attribute constraints
True
True
True
Apply spatial constraints
False
True
False
Query results contain fields from multiple tables
False
False
True
Query results returned as a cursor
True
True
True
RecordSet objects can be created from results
True
True
True
Returned records can be edited
True
True
False
(查询结果包含来自于多个表的字段,也就是支持表连接的查询)

你可能感兴趣的:(arcgis)