导出确认消息 (Data Management)

许可等级:BasicStandardAdvanced

摘要

创建输出确认文件以便确认接收到之前收到的数据变更消息。

用法

语法

ExportAcknowledgementMessage_management (in_geodatabase, out_acknowledgement_file, in_replica)
参数说明数据类型
in_geodatabase

指定要导出确认消息的复本地理数据库。地理数据库可以是本地地理数据库也可以是远程地理数据库。

Workspace ; GeoDataServer
out_acknowledgement_file

指定要导出到的增量文件。

File
in_replica

要导出确认消息的复本。

String

代码实例

ExportAcknowledgement 示例(Python 窗口)
import arcpy from arcpy import env env.workspace = "C:/Data" arcpy.ExportAcknowledgementMessage_management("MySDEdata.sde", "AcknowledgementMessage.xml" , "MyReplica1")
ExportAcknowledgement 示例 2(独立 Python 脚本)
# Name: ExportAcknowledgement_Example2.py # Description: Exports an acknowledgement message from a replica geodatabase (SDE). # Author: ESRI  # Import system modules import arcpy from arcpy import env  # Set workspace env.workspace = "C:/Data"  # Set local variables in_geodatabase = "MySDEdata.sde" output_file = "AcknowledgementMessage.xml" replica_name = "MyReplica1" arcpy.ExportAcknowledgementMessage_management(in_geodatabase, output_file , replica_name)

环境

相关主题

许可信息

ArcGIS for Desktop Basic: 否
ArcGIS for Desktop Standard: 是
ArcGIS for Desktop Advanced: 是
5/10/2014