Export (0) Print
Expand All

SPDataStore.GetSiteCollectionGuid method

Gets the identifier of a site collection for the specified location.

Namespace:  Microsoft.PerformancePoint.Scorecards.Store
Assembly:  Microsoft.PerformancePoint.Scorecards.Store (in Microsoft.PerformancePoint.Scorecards.Store.dll)

public static Guid GetSiteCollectionGuid(
	RepositoryLocation location


Type: Microsoft.PerformancePoint.Scorecards.RepositoryLocation

The specified location. Only the ItemUrl property must be defined, and it can point to an existing object or to a list or a site.

Return value

Type: System.Guid
The GUID of the SharePoint site collection (an SPSite object) that is referenced by the specified location. Returns an empty GUID if the site collection cannot be found.
© 2014 Microsoft