SPDataStore.IsInTrustedLocation-Methode
Gibt an, ob eine Position ein vertrauenswürdiger Speicherort ist.
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
)
Parameter
trustType
Typ: Microsoft.PerformancePoint.Scorecards.TrustedFileTypeDer Typ des Objekts mit der Speicherort: Content oder DataSource. Content wird für Dashboards, Filter, Indikatoren, Key Performance Indicators (KPIs), Berichte und Scorecards verwendet.
locationToExamine
Typ: Microsoft.PerformancePoint.Scorecards.RepositoryLocationDie angegebene Position ein abgerufenes Objekt mit Werten für die Eigenschaften ItemUrl, SPSiteCollectionId, SPSiteIdund SPListId .
Rückgabewert
Typ: System.Boolean
true Wenn die Position als vertrauenswürdiger Speicherort konfiguriert ist; andernfalls false.