Share via


Classe DataProvider

Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Public Class DataProvider _
    Implements IDataReader, IDisposable, IDataRecord
'Utilisation
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

Le type DataProvider expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique DataProvider(StatementBuilder) Initializes a new instance of a DataProvider. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique DataProvider(StatementBuilder, DataProvider. . :: . .RetriveMode) Initializes a new instance of a DataProvider. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Haut de la page

Propriétés

  Nom Description
Propriété publique Depth Gets the depth of nesting for the current row. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Propriété publique FieldCount Gets the number of columns in the current row. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Propriété publique IsClosed A Boolean which determines whether the [T::Microsoft.SqlServer.Management.Sdk.Sfc.DataProvider] is closed. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Propriété publique Item[ ( [ ( Int32] ) ] ) Gets the item corresponding to the ordinal position idx.Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Propriété publique Item[ ( [ ( String] ) ] ) Gets the object that specifies the string indexer. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Propriété publique RecordsAffected Gets the number of records affected. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Haut de la page

Méthodes

  Nom Description
Méthode publique Close Closes the DataProvider. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique Dispose Releases all the resources used by the DataProvider class. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetBoolean Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique GetByte Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique GetBytes Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique GetChar Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique GetChars Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique GetData Gets a IDataReader for the requested position., Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique GetDataTypeName Returns a type name for a specified column. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique GetDateTime Returns data for the specified column with the given type. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique GetDecimal Returns data for the specified column with the given type. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique GetDouble Returns data for the specified column with the given type. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique GetFieldType Returns a data type for the column at the specified ordinal. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique GetFloat Returns data for the specified column with the given type. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique GetGuid Returns data for the specified column with the given type. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetInt16 Returns data for the specified column with the given type. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique GetInt32 Returns data for the specified column with the given type. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique GetInt64 Returns data for the specified column with the given type. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique GetName Retrieves a column name for the specified ordinal. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique GetOrdinal Retrieves an ordinal for the specified column name. .Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique GetSchemaTable Gets a schema table that describes the column metadata. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique GetString Returns data for the specified column with the given type. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique GetType (hérité de Object.)
Méthode publique GetValue Returns data for the specified column with the given type. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique GetValues Populates an array of objects with the attribute column values of the current row. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique InitRowDataManipulation Initializes data structures so that row manipulation is done efficiently. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique InitSchemaTable Creates an empty DataTable that reflects the schema of the retrieved data. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique IsDBNull Determines whether the value corresponding to the ordinal position is Null. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique NextResult Unimplemented.returns false. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique Read Indicates whether the object advances to the next row. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique SetConnectionAndQuery Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique ToString (hérité de Object.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.