IDataSourceWizardCustomizationService.TryCreateDataSource(IDataSourceModel, out Object, out String) Method

Creates a new report data source with the specified settings.

Namespace: DevExpress.Xpf.DataAccess.DataSourceWizard

Assembly: DevExpress.Xpf.DataAccess.v20.1.dll

Declaration

bool TryCreateDataSource(
    IDataSourceModel model,
    out object dataSource,
    out string dataMember
)
Function TryCreateDataSource(
    model As IDataSourceModel,
    ByRef dataSource As Object,
    ByRef dataMember As String
) As Boolean

Parameters

Name Type Description
model IDataSourceModel

An object implementing the IDataSourceModel interface.

dataSource Object

A Object value, specifying the data source.

dataMember String

A String value, specifying the data member.

Returns

Type Description
Boolean

true, if the data source has been created; otherwise, false.

See Also