ReportingService2005.GetItemDataSources Method (String)
Applies To: SQL Server 2016 Preview
Returns the data sources for an item in the catalog.
Namespace: ReportService2005
Assembly: ReportService2005 (in ReportService2005.dll)
Syntax
public DataSource[] GetItemDataSources(
string Item
)
public:
array<DataSource^>^ GetItemDataSources(
String^ Item
)
member GetItemDataSources :
Item:string -> DataSource[]
Public Function GetItemDataSources (
Item As String
) As DataSource()
Parameters
Item
Type: System.StringThe full name of the item for which to retrieve data sources.
Return Value
Type: ReportService2005.DataSource[]
An array of DataSource objects.
Remarks
The table below shows header and permissions information on this operation.
SOAP Headers |
(Out) ServerInfoHeaderValue |
Required Permissions |
Depends on the item type:
In addition, you must also have the ReadProperties permission for the item's 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.
See Also
ReportingService2005 Class
ReportService2005 Namespace
Return to top