EnumResult EnumResult EnumResult Class

Definition

container for the result received from the enumerator

[System.Runtime.InteropServices.ComVisible(false)]
public class EnumResult
type EnumResult = class
Public Class EnumResult
Inheritance
EnumResultEnumResultEnumResult
Derived
Attributes

Constructors

EnumResult() EnumResult() EnumResult()

default constructor

EnumResult(Object, ResultType) EnumResult(Object, ResultType) EnumResult(Object, ResultType)

initialize an EnumResult

Properties

CommandElapsedTime CommandElapsedTime CommandElapsedTime

The time spent executing the command. Not valid if CommandText is empty.

CommandText CommandText CommandText

The text of the command that was used to generate the result. Can be null.

Data Data Data

result data

Type Type Type

in what kind of storage is the data in the result

Methods

ConvertToDataReader(EnumResult) ConvertToDataReader(EnumResult) ConvertToDataReader(EnumResult)

Converts the enumeration result to IDataReader

ConvertToDataSet(EnumResult) ConvertToDataSet(EnumResult) ConvertToDataSet(EnumResult)

convert to DataSet if possible

ConvertToDataTable(EnumResult) ConvertToDataTable(EnumResult) ConvertToDataTable(EnumResult)

implicit cast to DataTable if possible

ConvertToXmlDocument(EnumResult) ConvertToXmlDocument(EnumResult) ConvertToXmlDocument(EnumResult)

convert to XmlDocument if possible

SetType(ResultType) SetType(ResultType) SetType(ResultType)

used to set the result type on the data is filled

Operators

Implicit(EnumResult to DataSet) Implicit(EnumResult to DataSet) Implicit(EnumResult to DataSet)

implicit cast to DataSet if possible

Implicit(EnumResult to DataTable) Implicit(EnumResult to DataTable) Implicit(EnumResult to DataTable)

implicit cast to DataSet if possible

Implicit(EnumResult to XmlDocument) Implicit(EnumResult to XmlDocument) Implicit(EnumResult to XmlDocument)

implicit cast to XmlDocument if possible

Applies to