Share via


Database.ExecuteDataSet Method (DbCommand)

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Executes the command and returns the results in a new DataSet.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Data
Assembly:  Microsoft.Practices.EnterpriseLibrary.Data (in Microsoft.Practices.EnterpriseLibrary.Data.dll)

Syntax

'Declaration
PublicOverridableFunctionExecuteDataSet ( _
    commandAs DbCommand _
) As DataSet
publicvirtual DataSet ExecuteDataSet(
    DbCommand command
)
public:
virtual DataSet^ ExecuteDataSet(
    DbCommand^ command
)
publicfunctionExecuteDataSet(
    command : DbCommand
) : DataSet

Parameters

Return Value

A DataSet with the results of the command.

See Also

Database Class

ExecuteDataSet Overload

Microsoft.Practices.EnterpriseLibrary.Data Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.