Export (0) Print
Expand All
Expand Minimize
0 out of 1 rated this helpful - Rate this topic

ReportingService2010.GetDataSourceContents Method

Returns the contents of a data source.

Namespace:  ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)
[<SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetDataSourceContents", RequestNamespace = "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
    ResponseNamespace = "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
member 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 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)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.