Export (0) Print
Expand All

DataProvider Class

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

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)

[DefaultMemberAttribute("Item")]
public class DataProvider : IDataReader, 
	IDisposable, IDataRecord

The DataProvider type exposes the following members.

  NameDescription
Public methodDataProvider(StatementBuilder)Initializes a new instance of a DataProvider. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public methodDataProvider(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

  NameDescription
Public propertyDepthGets the depth of nesting for the current row. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public propertyFieldCountGets the number of columns in the current row. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public propertyIsClosedA 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 propertyItem[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 propertyItem[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 propertyRecordsAffectedGets the number of records affected. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Top

  NameDescription
Public methodCloseCloses the DataProvider. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public methodDisposeReleases all the resources used by the DataProvider class. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBooleanReturns 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 methodGetByteReturns 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 methodGetBytesReturns 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 methodGetCharReturns 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 methodGetCharsReturns 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 methodGetDataGets a IDataReader for the requested position., Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public methodGetDataTypeNameReturns a type name for a specified column. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public methodGetDateTimeReturns 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 methodGetDecimalReturns 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 methodGetDoubleReturns 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 methodGetFieldTypeReturns 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 methodGetFloatReturns 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 methodGetGuidReturns 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 methodGetHashCode (Inherited from Object.)
Public methodGetInt16Returns 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 methodGetInt32Returns 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 methodGetInt64Returns 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 methodGetNameRetrieves a column name for the specified ordinal. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public methodGetOrdinalRetrieves an ordinal for the specified column name. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public methodGetSchemaTableGets a schema table that describes the column metadata. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public methodGetStringReturns 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 methodGetType (Inherited from Object.)
Public methodGetValueReturns 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 methodGetValuesPopulates 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 methodInitRowDataManipulationInitializes 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 methodInitSchemaTableCreates 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 methodIsDBNullDetermines 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 methodMemberwiseClone (Inherited from Object.)
Public methodNextResultUnimplemented returns false. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public methodReadIndicates whether the object advances to the next row. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Public methodSetConnectionAndQueryDo not reference this member directly in your code. It supports the SQL Server infrastructure.
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft