BusinessLogicDataReader 类
此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Represents a business logic data reader.
继承层次结构
System.Object
Microsoft.SqlServer.Replication.BusinessLogicSupport.BusinessLogicDataReader
命名空间: Microsoft.SqlServer.Replication.BusinessLogicSupport
程序集: Microsoft.SqlServer.Replication.BusinessLogicSupport(在 Microsoft.SqlServer.Replication.BusinessLogicSupport.dll 中)
语法
声明
Public Class BusinessLogicDataReader _
Implements IDataReader, IDisposable, IDataRecord
用法
Dim instance As BusinessLogicDataReader
public class BusinessLogicDataReader : IDataReader,
IDisposable, IDataRecord
public ref class BusinessLogicDataReader : IDataReader,
IDisposable, IDataRecord
type BusinessLogicDataReader =
class
interface IDataReader
interface IDisposable
interface IDataRecord
end
public class BusinessLogicDataReader implements IDataReader, IDisposable, IDataRecord
BusinessLogicDataReader 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
BusinessLogicDataReader | Initializes a new instance of the BusinessLogicDataReader class. |
页首
属性
名称 | 说明 | |
---|---|---|
Depth | Gets a value indicating the depth of nesting for the current row. | |
FieldCount | Gets the number of columns in the current row. | |
IsClosed | Gets a value that indicates whether the BusinessLogicDataReader is closed. | |
Item[Int32] | Gets the value of the specified column. | |
Item[String] | Gets the value of the specified column. | |
RecordsAffected | Gets the number of rows changed, inserted, or deleted by execution of the statement. |
页首
方法
名称 | 说明 | |
---|---|---|
Close | Closes the BusinessLogicDataReader object. | |
Dispose | Releases all resources used by the current instance of the BusinessLogicDataReaderclass. | |
Equals | (从 Object 继承。) | |
Finalize | (从 Object 继承。) | |
GetBoolean | Gets the value of the specified column as a Boolean. | |
GetByte | Gets the value of the specified column as a byte. | |
GetBytes | Reads a stream of bytes from the specified column. | |
GetChar | Gets the value of the specified column as a single character. | |
GetChars | Reads a stream of characters from the specified column. | |
GetData | Reads a BusinessLogicDataReader for the requested column ordinal. | |
GetDataTypeName | Gets name of the data type of the specified column. | |
GetDateTime | Gets the value of the specified column as a DateTime object. | |
GetDecimal | Gets the value of the specified column as a Decimal object. | |
GetDouble | Gets the value of the specified column as a double-precision floating point number. | |
GetFieldType | Gets the data type of the specified column. | |
GetFloat | Gets the value of the specified column as a single-precision floating point number. | |
GetGuid | Gets the value of the specified column as a globally-unique identifier (GUID). | |
GetHashCode | (从 Object 继承。) | |
GetInt16 | Gets the value of the specified column as a 16-bit signed integer. | |
GetInt32 | Gets the value of the specified column as a 32-bit signed integer. | |
GetInt64 | Gets the value of the specified column as a 64-bit signed integer. | |
GetName | Gets the name of the column. | |
GetOrdinal | Gets the column ordinal given the name of the column. | |
GetSchemaTable | Returns a DataTable that describes the column metadata. | |
GetString | Gets the value of the specified column as an instance of String. | |
GetType | (从 Object 继承。) | |
GetValue | Gets the value of the specified column as an instance of Object. | |
GetValues | Populates an array of objects with the column values of the current row. | |
IsDBNull | Indicates whether the column contains nonexistent or missing values. | |
MemberwiseClone | (从 Object 继承。) | |
NextResult | Advances the reader to the next result when reading the results of a batch of statements. | |
Read | Advances the reader to the next record in a result set. | |
ToString | (从 Object 继承。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。