不要直接在程式碼中參照此成員。其支援 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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。
.gif)
.gif)
.gif)