Classe DataProvider
Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server.
Gerarchia di ereditarietà
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.DataProvider
Spazio dei nomi Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintassi
'Dichiarazione
Public Class DataProvider _
Implements IDataReader, IDisposable, IDataRecord
'Utilizzo
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
Nel tipo DataProvider sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
DataProvider(StatementBuilder) | Initializes a new instance of a DataProvider. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
DataProvider(StatementBuilder, DataProvider.RetriveMode) | Initializes a new instance of a DataProvider. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. |
In alto
Proprietà
Nome | Descrizione | |
---|---|---|
Depth | Gets the depth of nesting for the current row. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
FieldCount | Gets the number of columns in the current row. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
IsClosed | A Boolean which determines whether the [T::Microsoft.SqlServer.Management.Sdk.Sfc.DataProvider] is closed. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
Item[Int32] | Gets the item corresponding to the ordinal position idx.Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
Item[String] | Gets the object that specifies the string indexer. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
RecordsAffected | Gets the number of records affected. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
Close | Closes the DataProvider. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
Dispose | Releases all the resources used by the DataProvider class. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
Equals | Ereditato da Object. | |
Finalize | Ereditato da Object. | |
GetBoolean | Returns data for the specified column with the given type. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
GetByte | Returns data for the specified column with the given type. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
GetBytes | Returns data for the specified column with the given type. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
GetChar | Returns data for the specified column with the given type. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
GetChars | Returns data for the specified column with the given type. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
GetData | Gets a IDataReader for the requested position., Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
GetDataTypeName | Returns a type name for a specified column. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
GetDateTime | Returns data for the specified column with the given type. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
GetDecimal | Returns data for the specified column with the given type. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
GetDouble | Returns data for the specified column with the given type. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
GetFieldType | Returns a data type for the column at the specified ordinal. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
GetFloat | Returns data for the specified column with the given type. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
GetGuid | Returns data for the specified column with the given type. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
GetHashCode | Ereditato da Object. | |
GetInt16 | Returns data for the specified column with the given type. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
GetInt32 | Returns data for the specified column with the given type. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
GetInt64 | Returns data for the specified column with the given type. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
GetName | Retrieves a column name for the specified ordinal. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
GetOrdinal | Retrieves an ordinal for the specified column name. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
GetSchemaTable | Gets a schema table that describes the column metadata. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
GetString | Returns data for the specified column with the given type. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
GetType | Ereditato da Object. | |
GetValue | Returns data for the specified column with the given type. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
GetValues | Populates an array of objects with the attribute column values of the current row. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
InitRowDataManipulation | Initializes data structures so that row manipulation is done efficiently. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
InitSchemaTable | Creates an empty DataTable that reflects the schema of the retrieved data. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
IsDBNull | Determines whether the value corresponding to the ordinal position is Null. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
MemberwiseClone | Ereditato da Object. | |
NextResult | Unimplemented returns false. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
Read | Indicates whether the object advances to the next row. Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
SetConnectionAndQuery | Non fare riferimento direttamente a questo membro nel codice. Supporta l'infrastruttura di SQL Server. | |
ToString | Ereditato da Object. |
In alto
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.