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)
Syntax
'Declaration
Public Function IsInTrustedLocation ( _
trustType As TrustedFileType, _
locationToExamine As RepositoryLocation _
) As Boolean
'Usage
Dim instance As SPDataStore
Dim trustType As TrustedFileType
Dim locationToExamine As RepositoryLocation
Dim returnValue As Boolean
returnValue = instance.IsInTrustedLocation(trustType, _
locationToExamine)
public bool IsInTrustedLocation(
TrustedFileType trustType,
RepositoryLocation locationToExamine
)
Parameters
trustType
Type: Microsoft.PerformancePoint.Scorecards.TrustedFileTypeThe type of object that the location contains: Content or DataSource. Content is used for dashboards, filters, indicators, key performance indicators (KPIs), reports, and scorecards.
locationToExamine
Type: Microsoft.PerformancePoint.Scorecards.RepositoryLocationThe 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.