ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core Namespace / Project Class / PushChangesPortalProjectAsync Method
Version

PushChangesPortalProjectAsync Method
If this project is a portal project, this method updates the project on the portal to match the local version. Local changes and new items will be pushed to the portal. Differences on the portal will be overwritten. New items on the portal will be deleted.
Syntax
public Task<bool> PushChangesPortalProjectAsync()
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.4 or higher.
See Also