IDeploymentContext.SiteCollectionUrl Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the canonical URL of the Microsoft.SharePoint.SPSite that the project is connected to, according to SharePoint.
public:
Uri ^ SiteCollectionUrl();
public Uri SiteCollectionUrl ();
abstract member SiteCollectionUrl : unit -> Uri
Public Function SiteCollectionUrl () As Uri
Returns
The canonical URL of the Microsoft.SharePoint.SPSite that the project is connected to, according to SharePoint.
Remarks
May be the same as the SiteUrl if that site is WebRoot of its site collection.