IVsDataCommand Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the interface that exposes methods for data command handling, including building and executing data commands of various types against data sources, retrieving read-only results, and retrieving a command status code.
public interface class IVsDataCommand
[Microsoft.VisualStudio.Data.Core.DataClientObject("44B66758-3C1C-40ce-BEE4-5DBDA7293387")]
public interface IVsDataCommand
[<Microsoft.VisualStudio.Data.Core.DataClientObject("44B66758-3C1C-40ce-BEE4-5DBDA7293387")>]
type IVsDataCommand = interface
Public Interface IVsDataCommand
- Derived
- Attributes
Methods
CreateParameter() |
When implemented by a class, creates a parameter object that can be passed into one of the following methods: DeriveSchema(String, DataCommandType, IVsDataParameter[], Int32), Execute(String, DataCommandType, IVsDataParameter[], Int32), or ExecuteWithoutResults(String, DataCommandType, IVsDataParameter[], Int32). |
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. |
DeriveSchema(String) |
When implemented by a class, derives the schema returned from a specified command. The schema indicates the layout of items and blocks in a data reader. |
DeriveSchema(String, DataCommandType) |
When implemented by a class, derives the schema returned from a specified command. The schema indicates the layout of items and blocks in a data reader. |
DeriveSchema(String, DataCommandType, IVsDataParameter[]) |
When implemented by a class, derives the schema returned from a specified command. The schema indicates the layout of items and blocks in a data reader. |
DeriveSchema(String, DataCommandType, IVsDataParameter[], Int32) |
When implemented by a class, derives the schema returned from a specified command. The schema indicates the layout of items and blocks in a data reader. |
Execute(String) |
When implemented by a class, executes a specified command and returns read-only results. |
Execute(String, DataCommandType) |
When implemented by a class, executes a specified command and returns read-only results. |
Execute(String, DataCommandType, IVsDataParameter[]) |
When implemented by a class, executes a specified command and returns read-only results. |
Execute(String, DataCommandType, IVsDataParameter[], Int32) |
When implemented by a class, executes a specified command and returns read-only results. |
ExecuteWithoutResults(String) |
When implemented by a class, executes a command but does not request results, instead returning an integer indicating the outcome of the call. |
ExecuteWithoutResults(String, DataCommandType) |
When implemented by a class, executes a command but does not request results, instead returning an integer indicating the outcome of the call. |
ExecuteWithoutResults(String, DataCommandType, IVsDataParameter[]) |
When implemented by a class, executes a command, optionally with parameters, but does not request results, instead returning an integer indicating the outcome of the call. |
ExecuteWithoutResults(String, DataCommandType, IVsDataParameter[], Int32) |
When implemented by a class, executes a command, optionally with parameters, but does not request results, instead returning an integer indicating the outcome of the call. |
Prepare(String) |
When implemented by a class, prepares the specified command on the data source to be executed; the command may then be executed multiple times, with varying parameters. |
Prepare(String, DataCommandType) |
When implemented by a class, prepares the specified command on the data source to be executed; the command may then be executed multiple times, with varying parameters. |
Prepare(String, DataCommandType, IVsDataParameter[]) |
When implemented by a class, prepares the specified command on the data source to be executed; the command may then be executed multiple times, with varying parameters. |
Prepare(String, DataCommandType, IVsDataParameter[], Int32) |
When implemented by a class, prepares the specified command on the data source to be executed; the command may then be executed multiple times, with varying parameters. |