QueryResultBase.ConvertIDataReaderToDataSet method
Converts the contents of a System.Data.IDataReader interface to a System.Data.DataSet.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Shared Function ConvertIDataReaderToDataSet ( _
dataReader As IDataReader _
) As DataSet
'Usage
Dim dataReader As IDataReader
Dim returnValue As DataSet
returnValue = QueryResultBase.ConvertIDataReaderToDataSet(dataReader)
public static DataSet ConvertIDataReaderToDataSet(
IDataReader dataReader
)
Parameters
dataReader
Type: System.Data.IDataReaderAn object implementing the System.Data.IDataReader interface.
Return value
Type: System.Data.DataSet
A System.Data.DataSet.