ReportingService2010.GetItemReferences(String, String) Metodo

Definizione

Restituisce un elenco di riferimenti a elementi del catalogo associati a un elemento. Questo metodo si applica ai tipi di elemento Report e Dataset.

public:
 cli::array <ReportService2010::ItemReferenceData ^> ^ GetItemReferences(System::String ^ ItemPath, System::String ^ ReferenceItemType);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemReferences", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
public ReportService2010.ItemReferenceData[] GetItemReferences (string ItemPath, string ReferenceItemType);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetItemReferences", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
[<System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")>]
member this.GetItemReferences : string * string -> ReportService2010.ItemReferenceData[]
Public Function GetItemReferences (ItemPath As String, ReferenceItemType As String) As ItemReferenceData()

Parametri

ItemPath
String

URL completo dell'elemento, inclusi il nome file e, in modalità SharePoint, l'estensione.

ReferenceItemType
String

Tipo di elemento di riferimento.

Restituisce

ItemReferenceData[]

Matrice di oggetti ItemReferenceData.

Attributi

Commenti

Nella tabella seguente vengono mostrate le informazioni sull'intestazione e sulle autorizzazioni relative a questa operazione.

Utilizzo intestazione SOAP (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Autorizzazioni necessarie per la modalità nativa Se il tipo di elemento è Report o LinkedReport :

- ReferenceItemType è DataSet : ReadReportDefinition su ItemPath e ReadProperties su ogni set di dati
- ReferenceItemType è DataSource : ReadDatasource su ItemPath e ReadProperties su ogni origine dati e ReadProperties su ogni modello

Se il tipo di elemento è DataSet :

-Il riferimento all'elemento è DataSource : ReadDatasource on ItemPath e nell' ReadProperties origine dati
-Il riferimento all'elemento è Model : ReadDatasource on ItemPath ReadProperties sul modello

Se il tipo di elemento è Model : ReadDatasource on ItemPath e ReadProperties nell'origine dati a cui si fa riferimento.
Autorizzazioni necessarie per la modalità SharePoint OpenItems in ItemPath e ViewListItems in ogni elemento a cui si fa riferimento

Utilizzare questo metodo per ottenere i set di dati condivisi di un report, le origini dati condivise di un report o le origini dati condivise di un set di dati condiviso.

Si applica a