Partager via


Méthode ReportingService2006.GetItemDataSources

Returns the data sources for an item in the catalog.

Espace de noms :  ReportService2006
Assembly :  ReportService2006 (en ReportService2006.dll)

Syntaxe

'Déclaration
Public Function GetItemDataSources ( _
    Item As String _
) As DataSource()
'Utilisation
Dim instance As ReportingService2006 
Dim Item As String 
Dim returnValue As DataSource()

returnValue = instance.GetItemDataSources(Item)
public DataSource[] GetItemDataSources(
    string Item
)
public:
array<DataSource^>^ GetItemDataSources(
    String^ Item
)
member GetItemDataSources : 
        Item:string -> DataSource[] 
public function GetItemDataSources(
    Item : String
) : DataSource[]

Paramètres

  • Item
    Type : System.String
    The fully qualified URL of the item including the file name and extension.

Valeur de retour

Type : array<ReportService2006.DataSource[]
An array of DataSource objects.

Notes

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

SOAP Headers

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions

OpenItems on Item AND ViewListItems on the underlying data sources

The GetItemDataSources method returns the values of properties associated with a data source, and may only be called for Report and Model item types.

Voir aussi

Référence

ReportingService2006 Classe

Espace de noms ReportService2006