RemoveDataStoreItem (arcpy)
摘要
从 ArcGIS Server 站点取消注册文件夹或数据库。
语法
RemoveDataStoreItem (connection_file, datastore_type, connection_name)
参数 | 说明 | 数据类型 |
connection_file |
An ArcGIS Server connection file (.ags) for the server whose database or folder is being unregistered. If you've made a connection in ArcCatalog, you can use the connection file found in your user profile directory. Alternatively, you can create a connection file from scratch using the function CreateGISServerConnectionFile. | String |
datastore_type | The type of data being unregistered.
| String |
connection_name | The name of the folder or database being unregistered, as it is currently registered with the ArcGIS Server site. | String |
代码实例
RemoveDataStoreItem 示例
从 ArcGIS Server 移除别名为“My local data folder”的文件夹。
import arcpy
arcpy.RemoveDataStoreItem("GIS Servers/MyConnection.ags", "FOLDER", "My local data folder")
相关主题
9/15/2013