DataProvider Class

Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Class DataProvider _
    Implements IDataReader, IDisposable, IDataRecord
'Usage
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

The DataProvider type exposes the following members.

Constructors

  Name Description
Public method DataProvider(StatementBuilder) Initializes a new instance of a DataProvider. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method DataProvider(StatementBuilder, DataProvider.RetriveMode) Initializes a new instance of a DataProvider. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Top

Properties

  Name Description
Public property Depth Gets the depth of nesting for the current row. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public property FieldCount Gets the number of columns in the current row. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public property IsClosed A Boolean which determines whether the [T::Microsoft.SqlServer.Management.Sdk.Sfc.DataProvider] is closed. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public property Item[Int32] Gets the item corresponding to the ordinal position idx.Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public property Item[String] Gets the object that specifies the string indexer. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public property RecordsAffected Gets the number of records affected. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Top

Methods

  Name Description
Public method Close Closes the DataProvider. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method Dispose Releases all the resources used by the DataProvider class. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBoolean Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetByte Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetBytes Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetChar Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetChars Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetData Gets a IDataReader for the requested position., Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetDataTypeName Returns a type name for a specified column. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetDateTime Returns data for the specified column with the given type. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetDecimal Returns data for the specified column with the given type. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetDouble Returns data for the specified column with the given type. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetFieldType Returns a data type for the column at the specified ordinal. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetFloat Returns data for the specified column with the given type. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetGuid Returns data for the specified column with the given type. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetHashCode (Inherited from Object.)
Public method GetInt16 Returns data for the specified column with the given type. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetInt32 Returns data for the specified column with the given type. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetInt64 Returns data for the specified column with the given type. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetName Retrieves a column name for the specified ordinal. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetOrdinal Retrieves an ordinal for the specified column name. .Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetSchemaTable Gets a schema table that describes the column metadata. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetString Returns data for the specified column with the given type. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetType (Inherited from Object.)
Public method GetValue Returns data for the specified column with the given type. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method GetValues Populates an array of objects with the attribute column values of the current row. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method InitRowDataManipulation Initializes data structures so that row manipulation is done efficiently. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method InitSchemaTable Creates an empty DataTable that reflects the schema of the retrieved data. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method IsDBNull Determines whether the value corresponding to the ordinal position is Null. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Protected method MemberwiseClone (Inherited from Object.)
Public method NextResult Unimplemented.returns false. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method Read Indicates whether the object advances to the next row. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method SetConnectionAndQuery Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.