IVsDataCommand.DeriveParameters Method

Definition

Overloads

DeriveParameters(String)

When implemented by a class, derives the parameters that can be specified for a given command.

DeriveParameters(String, DataCommandType)

When implemented by a class, derives the parameters that can be specified for a given command.

DeriveParameters(String, DataCommandType, Int32)

When implemented by a class, derives the parameters that can be specified for a given command.

DeriveParameters(String)

When implemented by a class, derives the parameters that can be specified for a given command.

public:
 cli::array <Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataParameter ^> ^ DeriveParameters(System::String ^ command);
public Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[] DeriveParameters (string command);
abstract member DeriveParameters : string -> Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[]
Public Function DeriveParameters (command As String) As IVsDataParameter()

Parameters

command
String

A command from which to derive parameters that are specific to a data source.

Returns

An array of IVsDataParameter objects. Each object represents a parameter that is derived from the command.

Applies to

DeriveParameters(String, DataCommandType)

When implemented by a class, derives the parameters that can be specified for a given command.

public:
 cli::array <Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataParameter ^> ^ DeriveParameters(System::String ^ command, Microsoft::VisualStudio::Data::Services::SupportEntities::DataCommandType commandType);
public Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[] DeriveParameters (string command, Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType commandType);
abstract member DeriveParameters : string * Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType -> Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[]
Public Function DeriveParameters (command As String, commandType As DataCommandType) As IVsDataParameter()

Parameters

command
String

A command from which to derive parameters that are specific to a data source.

commandType
DataCommandType

A value from the DataCommandType enumeration representing the command type for the indicated command, specifying how to interpret the contents of the command parameter.

Returns

An array of IVsDataParameter objects. Each object represents a parameter that is derived from the command.

Applies to

DeriveParameters(String, DataCommandType, Int32)

When implemented by a class, derives the parameters that can be specified for a given command.

public:
 cli::array <Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataParameter ^> ^ DeriveParameters(System::String ^ command, Microsoft::VisualStudio::Data::Services::SupportEntities::DataCommandType commandType, int commandTimeout);
public Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[] DeriveParameters (string command, Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType commandType, int commandTimeout);
abstract member DeriveParameters : string * Microsoft.VisualStudio.Data.Services.SupportEntities.DataCommandType * int -> Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[]
Public Function DeriveParameters (command As String, commandType As DataCommandType, commandTimeout As Integer) As IVsDataParameter()

Parameters

command
String

A command from which to derive parameters that are specific to a data source.

commandType
DataCommandType

A value from the DataCommandType enumeration representing 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 0 indicates infinite time-out; a value of -1 indicates a provider default.

Returns

An array of IVsDataParameter objects. Each object represents a parameter that is derived from the command.

Applies to