ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data Namespace / PostOptions Class / TargetVersion Property
Version

TargetVersion Property (PostOptions)
Gets the target Version to be posted against. If null, the target is the default version.
Syntax
public Version TargetVersion {get;}
Remarks
This property is not valid for branch versioning.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also