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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。