Metoda ReportingService2010.GetItemReferences
Zwraca listę wykazu element odwołania powiązane z element.Niniejsza metoda stosowana do raport i Dataset element typów.
Przestrzeń nazw: ReportService2010
Zestaw: ReportService2010 (w ReportService2010.dll)
Składnia
'Deklaracja
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemReferences", RequestNamespace := "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", _
ResponseNamespace := "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("TrustedUserHeaderValue")> _
Public Function GetItemReferences ( _
ItemPath As String, _
ReferenceItemType As String _
) As ItemReferenceData()
'Użycie
Dim instance As ReportingService2010
Dim ItemPath As String
Dim ReferenceItemType As String
Dim returnValue As ItemReferenceData()
returnValue = instance.GetItemReferences(ItemPath, _
ReferenceItemType)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemReferences", RequestNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("TrustedUserHeaderValue")]
public ItemReferenceData[] GetItemReferences(
string ItemPath,
string ReferenceItemType
)
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemReferences", RequestNamespace = L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
ResponseNamespace = L"https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapHeaderAttribute(L"TrustedUserHeaderValue")]
public:
array<ItemReferenceData^>^ GetItemReferences(
String^ ItemPath,
String^ ReferenceItemType
)
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemReferences", RequestNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
ResponseNamespace = "https://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
member GetItemReferences :
ItemPath:string *
ReferenceItemType:string -> ItemReferenceData[]
public function GetItemReferences(
ItemPath : String,
ReferenceItemType : String
) : ItemReferenceData[]
Parametry
- ItemPath
Typ: System.String
W pełni kwalifikowana URL element, łącznie z nazwą pliku i w trybie SharePoint rozszerzenia.
- ReferenceItemType
Typ: System.String
Typ element tego element.
Wartość zwracana
Typ: array<ReportService2010.ItemReferenceData[]
Tablica ItemReferenceData obiektów.
Uwagi
W poniższej tabela przedstawiono informacje nagłówka i uprawnienia na tej operacji.
Użycie nagłówek protokołu SOAP |
(Ruch wychodzący)ServerInfoHeaderValue |
Tryb macierzysty wymagane uprawnienia |
Jeśli element jest typu raport lub LinkedReport:
Jeśli element jest typu DataSet:
Jeśli element jest typu Model: ReadDatasourcena ItemPath i ReadProperties na źródło danych odwołania. |
Tryb programu SharePoint wymagane uprawnienia |
OpenItems()na ItemPath i ViewListItems() na każdego element |
Ta metoda umożliwia pobieranie udostępnionych zestawów danych raportu, raport udostępniane źródła danych lub udostępnionych dataset udostępniane źródła danych.