Compartir a través de


TraceReader Miembros

The TraceReader class is an abstract Trace Object class that is used in the construction of the TraceServer class, the TraceTable class, and the TraceFile class.

El tipo TraceReader expone los siguientes miembros.

Constructores

  Nombre Descripción
Método publico TraceReader Initializes a new instance of the TraceReader class.

Principio

Métodos

  Nombre Descripción
Método publico Close Closes the trace reader.
Método publico Dispose Deletes the trace reader information.
Método publico Equals (Se hereda de Object).
Método protegido Finalize (Se hereda de Object).
Método publico GetBoolean Returns a Boolean value from the record at the specified column position.
Método publico GetByte Returns a Byte value from the record at the specified column position.
Método publico GetBytes Gets a stream of bytes from the specified column offset into the buffer as an array, starting at the given buffer offset.
Método publico GetChar Gets a character value of the specified column.
Método publico GetChars(Int32, array<Char> [] () [] [], Int32, Int32, Int32) Gets a character array value from the record at the specified column position.
Método publico GetChars(Int32, Int64, array<Char> [] () [] [], Int32, Int32) Gets a character array value from the record at the specified column position.
Método publico GetData Returns IDataReader object used when the field points to a remote data structure.
Método publico GetDataTypeName Gets the data type of the data value at the specified column position.
Método publico GetDateTime Gets a DateTime value of the data value at the specified column position.
Método publico GetDecimal Gets a Decimal value of the data value at the specified column position.
Método publico GetDouble Gets a floating point value of the data value at the specified column position.
Método publico GetFieldType Returns the field type of the data value at the specified column position.
Método publico GetFloat Gets a floating point value of the data value at the specified column position.
Método publico GetGuid Gets a Guid system value of the data value at the specified column position.
Método publico GetHashCode (Se hereda de Object).
Método publico GetInt16 Gets a small integer value of the data value at the specified column position.
Método publico GetInt32 Gets an integer value of the data value at the specified column position.
Método publico GetInt64 Gets a long integer value of the data value at the specified column position.
Método publico GetName Gets the name of the field at the specified column position.
Método publico GetOrdinal Gets the ordinal value of the data value at the specified column position.
Método publico GetSchemaTable Gets a table that describes the schema.
Método publico GetStream Gets the stream of data.
Método publico GetString Gets a String value at the specified column position.
Método publico GetTimeSpan Gets a TimeSpan value of the data value at the specified column position.
Método publico GetType (Se hereda de Object).
Método publico GetValue Gets a value of the data value at the specified column position.
Método publico GetValues Gets an array of values from the data value at the specified column position.
Método publico IsDBNull Specifies whether the specified column is set to null.
Método publico IsNull Gets a Boolean value that specifies whether value of the data at the specified column position is null.
Método protegido MemberwiseClone (Se hereda de Object).
Método publico NextResult Moves to the next result in the trace.
Método publico Read Reads the trace record.
Método publico ToString (Se hereda de Object).
Método publico TranslateSubclass Translates the sub class.

Principio

Campos

  Nombre Descripción
Campo protegido currentRow Specifies the current row.

Principio

Propiedades

  Nombre Descripción
Propiedad pública Depth Gets the depth value for the trace reader.
Propiedad pública FieldCount Gets the number of columns in the data.
Propiedad pública IsClosed Gets the Boolean property value that specifies whether the trace reader is closed.
Propiedad pública Item[ ( [ ( Int32] ) ] ) Gets the column specified by the index position.
Propiedad pública Item[ ( [ ( String] ) ] ) Gets the column with the specified name.
Propiedad pública RecordsAffected Gets the number of records of data.

Principio