# SharepointUrlType

The type of URL specified by SharepointUrl.

- To retrieve all content databases and site collections, set this parameter to `WebApplication`. Set the SharepointUrl parameter to the web application URL. You cannot use this value with SharePoint Online.
- To retrieve all site collections and sites from an instance of SharePoint Online, set this parameter to `TenantAdmin`. Set the SharepointUrl parameter to the URL of the primary SharePoint site collection. You can only use this option when `SharepointOnline=True`.
- To retrieve only one site collection, set this parameter to `SiteCollection`. Set the SharepointUrl parameter to the site collection URL. You can use this option with either SharePoint or SharePoint Online.
- To retrieve a personal site collection from SharePoint Online, set this parameter to `PersonalSiteCollection`. Set the SharepointUrl parameter to the personal site collection URL. You must also set the SharepointMySiteUrl parameter. You can only use this option when `SharepointOnline=True`.

Type: | String
Default: | `WebApplication`
Required: | No
Configuration Section: | TaskName or Fetchtasks
Example: | `SharepointUrlType=SiteCollection`
See Also: | SharepointUrl SharepointMySiteUrl SharepointOnline

_FT_HTML5_bannerTitle.htm