| Подпись | Описание | Тип данных | 
Input Workspace  | The ArcSDE geodatabase containing the edit version to be posted.  | Workspace | 
Version Name  | Name of the edit version to be posted to the target version.  | String | 
Краткая информация
Posting is the process of applying the current edit session to the reconciled target version during version geodatabase editing. Before a version can be posted, it must be reconciled with a target version and all conflicts must be resolved.
Прежние версии:
This is a deprecated tool. The Reconcile Versions tool should be used to post versions following a reconcile.
Использование
Posting synchronizes the edit version with the reconciled version and saves the data.
Posting can't be undone since you are applying changes to a version that you are not currently editing.
If the reconciled version is modified between reconciling and posting, you will be notified to reconcile again before posting.
Параметры
arcpy.management.PostVersion(in_workspace, version_name)
| Имя | Описание | Тип данных | 
in_workspace  | The ArcSDE geodatabase containing the edit version to be posted. The default is to use the workspace defined in the environment.  | Workspace | 
version_name  | Name of the edit version to be posted to the target version.  | String | 
Пример кода
import arcgisscripting
gp = arcgisscripting.create()
 
gp.postversion( "Database Connections\Connection to workspace.sde", "housing")Информация о лицензиях
- Basic: Нет
 - Standard: Да
 - Advanced: Да