Partager via


DataAsyncCommand.AsyncDeriveSchema Method

Definition

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

public:
 virtual void AsyncDeriveSchema(System::String ^ command, int commandType, cli::array <Microsoft::VisualStudio::Data::DataParameter ^> ^ parameters, int commandTimeout, Microsoft::VisualStudio::Data::DataAsyncCommandEvents ^ asyncCommandEvents);
public virtual void AsyncDeriveSchema (string command, int commandType, Microsoft.VisualStudio.Data.DataParameter[] parameters, int commandTimeout, Microsoft.VisualStudio.Data.DataAsyncCommandEvents asyncCommandEvents);
abstract member AsyncDeriveSchema : string * int * Microsoft.VisualStudio.Data.DataParameter[] * int * Microsoft.VisualStudio.Data.DataAsyncCommandEvents -> unit
override this.AsyncDeriveSchema : string * int * Microsoft.VisualStudio.Data.DataParameter[] * int * Microsoft.VisualStudio.Data.DataAsyncCommandEvents -> unit
Public Overridable Sub AsyncDeriveSchema (command As String, commandType As Integer, parameters As DataParameter(), commandTimeout As Integer, asyncCommandEvents As DataAsyncCommandEvents)

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