DataProvider 类

不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

继承层次结构

System.Object
  Microsoft.SqlServer.Management.Sdk.Sfc.DataProvider

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Public Class DataProvider _
    Implements IDataReader, IDisposable, IDataRecord
用法
Dim instance As DataProvider
public class DataProvider : IDataReader, 
    IDisposable, IDataRecord
public ref class DataProvider : IDataReader, 
    IDisposable, IDataRecord
type DataProvider =  
    class 
        interface IDataReader 
        interface IDisposable 
        interface IDataRecord 
    end
public class DataProvider implements IDataReader, IDisposable, IDataRecord

DataProvider 类型公开以下成员。

构造函数

  名称 说明
公共方法 DataProvider(StatementBuilder) Initializes a new instance of a DataProvider. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 DataProvider(StatementBuilder, DataProvider.RetriveMode) Initializes a new instance of a DataProvider. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

页首

属性

  名称 说明
公共属性 Depth Gets the depth of nesting for the current row. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共属性 FieldCount Gets the number of columns in the current row. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共属性 IsClosed A Boolean which determines whether the [T::Microsoft.SqlServer.Management.Sdk.Sfc.DataProvider] is closed. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共属性 Item[Int32] Gets the item corresponding to the ordinal position idx.不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共属性 Item[String] Gets the object that specifies the string indexer. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共属性 RecordsAffected Gets the number of records affected. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

页首

方法

  名称 说明
公共方法 Close Closes the DataProvider. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 Dispose Releases all the resources used by the DataProvider class. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetBoolean Returns data for the specified column with the given type. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 GetByte Returns data for the specified column with the given type. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 GetBytes Returns data for the specified column with the given type. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 GetChar Returns data for the specified column with the given type. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 GetChars Returns data for the specified column with the given type. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 GetData Gets a IDataReader for the requested position., 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 GetDataTypeName Returns a type name for a specified column. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 GetDateTime Returns data for the specified column with the given type. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 GetDecimal Returns data for the specified column with the given type. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 GetDouble Returns data for the specified column with the given type. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 GetFieldType Returns a data type for the column at the specified ordinal. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 GetFloat Returns data for the specified column with the given type. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 GetGuid Returns data for the specified column with the given type. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetInt16 Returns data for the specified column with the given type. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 GetInt32 Returns data for the specified column with the given type. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 GetInt64 Returns data for the specified column with the given type. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 GetName Retrieves a column name for the specified ordinal. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 GetOrdinal Retrieves an ordinal for the specified column name. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 GetSchemaTable Gets a schema table that describes the column metadata. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 GetString Returns data for the specified column with the given type. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 GetType (从 Object 继承。)
公共方法 GetValue Returns data for the specified column with the given type. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 GetValues Populates an array of objects with the attribute column values of the current row. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 InitRowDataManipulation Initializes data structures so that row manipulation is done efficiently. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 InitSchemaTable Creates an empty DataTable that reflects the schema of the retrieved data. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 IsDBNull Determines whether the value corresponding to the ordinal position is Null. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 NextResult Unimplemented returns false. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 Read Indicates whether the object advances to the next row. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 SetConnectionAndQuery 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
公共方法 ToString (从 Object 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Management.Sdk.Sfc 命名空间