AdoDotNetConnectionSupport.DeriveParametersCore Method

Definition

Derives parameters that can be specified for a given command.

protected:
 virtual cli::array <Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataParameter ^> ^ DeriveParametersCore(System::String ^ command, Microsoft::VisualStudio::Data::Services::SupportEntities::DataCommandType commandType, int commandTimeout);
protected virtual Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[] DeriveParametersCore (string command, Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType commandType, int commandTimeout);
abstract member DeriveParametersCore : string * Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType * int -> Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[]
override this.DeriveParametersCore : string * Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType * int -> Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[]
Protected Overridable Function DeriveParametersCore (command As String, commandType As DataCommandType, commandTimeout As Integer) As IVsDataParameter()

Parameters

command
String

A data source–specific command from which to derive parameters.

commandType
DataCommandType

The command type for the indicated command, specifying how to interpret the contents of the command parameter.

commandTimeout
Int32

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

Returns

An array of IVsDataParameter objects, each one representing a parameter derived from the command.

Applies to