Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Return Type: Microsoft.SharePoint.Client.Publishing.SitePageMetadataCollection
Returns a collection of site pages that meet the specified filtering criteria.
Parameters:
promotedState: Specifies filtering on the promoted state field. Default value is -1. If -1 is or default value specified, the server MUST return all site pages in the site pages document library. Otherwise, the server MUST return only site pages having promoted state equal to the specified value
Type: CSOM Int32
published: Specifies filtering only on published pages. Default value is false. When false or default is specified, the server MUST return pages that are in published or draft state. Otherwise, the server MUST return only site pages in the published state.
Type: CSOM Boolean
metadataFilter: Optional CAML query clause. If present, the server MUST add the metadata filter to the query matching the site pages in the site pages document library.
Type: CSOM String