SPDataStore.IsInTrustedLocation method

Indicates whether a location is a trusted location.

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

public bool IsInTrustedLocation(
	TrustedFileType trustType,
	RepositoryLocation locationToExamine


Type: Microsoft.PerformancePoint.Scorecards.TrustedFileType

The type of object that the location contains: Content or DataSource. Content is used for dashboards, filters, indicators, key performance indicators (KPIs), reports, and scorecards.

Type: Microsoft.PerformancePoint.Scorecards.RepositoryLocation

The specified location from a retrieved object with values set for the ItemUrl, SPSiteCollectionId, SPSiteId, and SPListId properties.

Return value

Type: System.Boolean
true if the location is configured as a trusted location; otherwise false.