ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Core Namespace / DownloadOptions Class / StagingLocation Property
Example

In This Topic
    StagingLocation Property
    In This Topic
    Gets and sets the application staging location
    Syntax
    public string StagingLocation {get; set;}
    Public Property StagingLocation As String
    Remarks
    Used when the application is staging content for publishing and packaging. If the folder does not exist, the application attempts to create it when the value is assigned. Attempting to assign a folder location to which the current user does not have write permission will fail. Set to empty string to revert to the application default.
    Example
    Set Staging Location for Sharing and Publishing
    ApplicationOptions.DownloadOptions.StagingLocation = @"D:\data\staging";
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also