ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.Data Namespace / CoreDataExtensions Class / PostInEditOperation Method
The Version instance to validate.
If PostOptions.TargetVersion is not specified in postOptions, then the target version is the Default version.

In This Topic
    PostInEditOperation Method
    In This Topic
    Posts this version against a target version specified in postOptions. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Public Shared Sub PostInEditOperation( _
       ByVal version As Version, _
       ByVal postOptions As PostOptions _
    ) 
    public static void PostInEditOperation( 
       Version version,
       PostOptions postOptions
    )

    Parameters

    version
    The Version instance to validate.
    postOptions
    If PostOptions.TargetVersion is not specified in postOptions, then the target version is the Default version.
    Exceptions
    ExceptionDescription
    postOptions is null.
    This operation is not supported in client-server mode because the data store supports multi-branch versioning.
    A Selection object specified in PostOptions.PartialPostSelections is not from a feature service feature class.
    A geodatabase-related exception has occurred.
    This method or property must be called within the lambda passed to QueuedTask.Run
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.7 or higher.
    See Also