Share via


IVsDataCommand Members

Include Protected Members
Include Inherited Members

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.

The IVsDataCommand type exposes the following members.

Methods

 

Name

Description

Public method

CreateParameter

When implemented by a class, creates a parameter object that can be passed into one of the following methods: DeriveSchema, Execute, or ExecuteWithoutResults.

Public method

DeriveParameters

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

Public method

DeriveSchema

Overloaded. 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.

Public method

Execute

Overloaded. When implemented by a class, executes a specified command and returns read-only results.

Public method

ExecuteWithoutResults

Overloaded. When implemented by a class, executes a command but does not request results, instead returning an integer indicating the outcome of the call.

Public method

Prepare

Overloaded. 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.

Top

See Also

Reference

IVsDataCommand Interface

Microsoft.VisualStudio.Data.Services.SupportEntities Namespace