ReportingService2010.GetItemReferences(String, String) ReportingService2010.GetItemReferences(String, String) ReportingService2010.GetItemReferences(String, String) Method

Definition

Returns a list of catalog item references associated with an item. This method applies to the Report and Dataset item types.

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);
Public Function GetItemReferences (ItemPath As String, ReferenceItemType As String) As ItemReferenceData()
Parameters
ItemPath
String String String

The fully qualified URL of the item including the file name and, in SharePoint mode, the extension.

ReferenceItemType
String String String

The item type of the referenced item.

Returns

An array of ItemReferenceData objects.

Remarks

The table below shows header and permissions information on this operation.

SOAP Header Usage (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Native Mode Required Permissions If item type is Report or LinkedReport:

- ReferenceItemType is DataSet: ReadReportDefinition on ItemPath AND ReadProperties on each dataset
- ReferenceItemType is DataSource: ReadDatasource on ItemPath AND ReadProperties on each data source AND ReadProperties on each model

If item type is DataSet:

- The item reference is a DataSource: ReadDatasource on ItemPath AND ReadProperties on the data source
- The item reference is a Model: ReadDatasource on ItemPathReadProperties on the model

If item type is Model: ReadDatasource on ItemPath AND ReadProperties on the referenced data source.
SharePoint Mode Required Permissions <xref:Microsoft.SharePoint.SPBasePermissions.OpenItems> on ItemPath AND <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems> on each referenced item

Use this method to get a report's shared datasets, a report's shared data sources, or a shared dataset's shared data sources.

Applies to