Export (0) Print
Expand All

SPSite.GetUrls method

SharePoint 2013

Retrieve all the URLs for the site collection, including both Primary URL and all Secondary URLs

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public List<SPSiteUrl> GetUrls()

Return value

Type: System.Collections.Generic.List<SPSiteUrl>
A list of all URLs and zones for the site collection
Show:
© 2014 Microsoft