Retrieve all the URLs for the site collection, including both Primary URL and all Secondary URLs
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Function GetUrls As List(Of SPSiteUrl)
用法
Dim instance As SPSite
Dim returnValue As List(Of SPSiteUrl)
returnValue = instance.GetUrls()
public List<SPSiteUrl> GetUrls()
返回值
类型:System.Collections.Generic.List<SPSiteUrl>
A list of all URLs and zones for the site collection