ResolveDataSource méthode
Resolves a data source.
Espace de noms : Microsoft.ReportingServices.RdlObjectModel
Assembly : Microsoft.ReportingServices.Designer.Controls (dans Microsoft.ReportingServices.Designer.Controls.dll)
Syntaxe
'Déclaration
Public Shared Function ResolveDataSource ( _
dataSource As DataSource, _
project As IReportProject, _
throwOnError As Boolean _
) As DataSource
'Utilisation
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
Paramètres
- dataSource
Type : Microsoft.ReportingServices.RdlObjectModel. . :: . .DataSource
The data source.
- project
Type : IReportProject
- throwOnError
Type : System. . :: . .Boolean
Whether to throw an exception when errors occur.
Valeur de retour
Type : Microsoft.ReportingServices.RdlObjectModel. . :: . .DataSource
A DataSource object.
Voir aussi