AdoDotNetConnectionSupport.DeriveSchemaCore Method

Definition

Derives the schema returned from a specified command, indicating the layout of items and blocks in a given data reader.

C++
protected:
 virtual Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataReader ^ DeriveSchemaCore(System::String ^ command, Microsoft::VisualStudio::Data::Services::SupportEntities::DataCommandType commandType, cli::array <Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataParameter ^> ^ parameters, int commandTimeout);

Parameters

command
String

Data source–specific command for which to derive the schema.

commandType
DataCommandType

Type of the indicated command, specifying how to interpret the contents of the command parameter.

parameters
IVsDataParameter[]

Array of AdoDotNetParameter objects for the specified command type.

commandTimeout
Int32

Length of time, in seconds, to block the client before canceling the schema derivation and returning to the caller. A value of zero indicates infinite time-out; value of -1 indicates a provider default.

Returns

An IVsDataReader object instance representing the command schema.

Applies to

Product Versions
Visual Studio SDK 2017, 2019, 2022