DataAsyncCommand.AsyncDeriveSchema Method

Definition

Derives, in an asynchronous manner, the schema of the specified command.

C++
public:
 virtual void AsyncDeriveSchema(System::String ^ command, int commandType, cli::array <Microsoft::VisualStudio::Data::DataParameter ^> ^ parameters, int commandTimeout, Microsoft::VisualStudio::Data::DataAsyncCommandEvents ^ asyncCommandEvents);

Parameters

command
String

The command for which the schema is derived.

commandType
Int32

Format of the command string.

parameters
DataParameter[]

A list of parameters to pass with the command.

commandTimeout
Int32

Amount of time, in seconds, before which the command times out.

asyncCommandEvents
DataAsyncCommandEvents

The object on which this method calls back as the command progresses.

Exceptions

The command or asyncCommandEvents are null.

The commandType specifies an invalid type.

The commandTimeout is less than -1.

The provider does not support this method.

Applies to

Proizvod Verzije
Visual Studio SDK 2017, 2019, 2022