Sdílet prostřednictvím


EnumResult Class

Definition

container for the result received from the enumerator

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

Constructors

EnumResult()

default constructor

EnumResult(Object, ResultType)

initialize an EnumResult

Properties

CommandElapsedTime

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

CommandText

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

Data

result data

Type

in what kind of storage is the data in the result

Methods

ConvertToDataReader(EnumResult)

Converts the enumeration result to IDataReader

ConvertToDataSet(EnumResult)

convert to DataSet if possible

ConvertToDataTable(EnumResult)

implicit cast to DataTable if possible

ConvertToXmlDocument(EnumResult)

convert to XmlDocument if possible

SetType(ResultType)

used to set the result type on the data is filled

Operators

Implicit(EnumResult to DataSet)

implicit cast to DataSet if possible

Implicit(EnumResult to DataTable)

implicit cast to DataSet if possible

Implicit(EnumResult to XmlDocument)

implicit cast to XmlDocument if possible

Applies to