ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Core.Portal Namespace / PortalQueryParameters Class / Query Property

In This Topic
    Query Property
    In This Topic
    Gets or sets the query string to search against.
    Syntax
    Public Property Query As String
    public string Query {get; set;}
    Remarks
    Corresponds to the "q=" parameter of a portal REST query. Any settings provided in BoundingBox,StartIndex, Limit, SortField, SortOrder, and OrganizationId will be appended to the query by the PortalQueryParameter in the SearchQuery. The SearchQuery is what is submitted to the portal for a search (i.e. ArcGIS.Desktop.Core.ArcGISPortalExtensions.SearchForContentAsync).
    Requirements

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

    ArcGIS Pro version: 3.0 or higher.
    See Also