Report.ResolveDataSource Method
Resolves a data source.
Namespace: Microsoft.ReportingServices.RdlObjectModel
Assembly: Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)
Syntax
'Declaration
Public Shared Function ResolveDataSource ( _
dataSource As DataSource, _
project As IReportProject, _
throwOnError As Boolean _
) As DataSource
'Usage
Dim dataSource As DataSource
Dim project As IReportProject
Dim throwOnError As Boolean
Dim returnValue As DataSource
returnValue = Report.ResolveDataSource(dataSource, _
project, throwOnError)
public static DataSource ResolveDataSource(
DataSource dataSource,
IReportProject project,
bool throwOnError
)
public:
static DataSource^ ResolveDataSource(
DataSource^ dataSource,
IReportProject^ project,
bool throwOnError
)
static member ResolveDataSource :
dataSource:DataSource *
project:IReportProject *
throwOnError:bool -> DataSource
public static function ResolveDataSource(
dataSource : DataSource,
project : IReportProject,
throwOnError : boolean
) : DataSource
Parameters
- dataSource
Type: Microsoft.ReportingServices.RdlObjectModel.DataSource
The data source.
- project
Type: IReportProject
- throwOnError
Type: System.Boolean
Whether to throw an exception when errors occur.
Return Value
Type: Microsoft.ReportingServices.RdlObjectModel.DataSource
A DataSource object.