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 | |
---|---|---|
DataProvider(StatementBuilder) | Initializes a new instance of a DataProvider. Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
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 | |
---|---|---|
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. | |
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. | |
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. | |
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. | |
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. | |
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 | |
---|---|---|
Close | Closes the DataProvider. Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
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. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetBoolean | 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. | |
GetByte | 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. | |
GetBytes | 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. | |
GetChar | 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. | |
GetChars | 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. | |
GetData | Gets a IDataReader for the requested position., Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
GetDataTypeName | Returns a type name for a specified column. Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
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. | |
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. | |
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. | |
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. | |
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. | |
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. | |
GetHashCode | (Inherited from Object.) | |
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. | |
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. | |
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. | |
GetName | Retrieves a column name for the specified ordinal. Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
GetOrdinal | Retrieves an ordinal for the specified column name. Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
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. | |
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. | |
GetType | (Inherited from Object.) | |
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. | |
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. | |
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. | |
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. | |
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. | |
MemberwiseClone | (Inherited from Object.) | |
NextResult | Unimplemented returns false. Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
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. | |
SetConnectionAndQuery | Do not reference this member directly in your code. It supports the SQL Server infrastructure. | |
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.