Expand Minimize
This topic has not yet been rated - Rate this topic

ReportingService2010.GetDataSourceContents Method

SQL Server 2012

Returns the contents of a data source.

Namespace:  ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)
public function GetDataSourceContents(
	DataSource : String
) : DataSourceDefinition

Parameters

DataSource
Type: System.String
The fully qualified URL of the data source including the file name and .rsds or .odc file name extension.

Return Value

Type: ReportService2010.DataSourceDefinition
A DataSourceDefinition object that contains the connection properties for the data source. The Password field is not retrieved from the server and this property of the DataSourceDefinition object is always set to null.

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

SOAP Header Usage

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions

ReadContent

SharePoint Mode Required Permissions

OpenItems

No code example is currently available or this language may not be supported.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.