表示显示处理数据的命令的方法的接口,包括生成和执行各种类型的数据命令数据源,检索只读结果和检索命令状态代码。
命名空间: Microsoft.VisualStudio.Data.Services.SupportEntities
程序集: Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)
语法
声明
<DataClientObjectAttribute("44B66758-3C1C-40ce-BEE4-5DBDA7293387")> _
Public Interface IVsDataCommand
[DataClientObjectAttribute("44B66758-3C1C-40ce-BEE4-5DBDA7293387")]
public interface IVsDataCommand
[DataClientObjectAttribute(L"44B66758-3C1C-40ce-BEE4-5DBDA7293387")]
public interface class IVsDataCommand
[<DataClientObjectAttribute("44B66758-3C1C-40ce-BEE4-5DBDA7293387")>]
type IVsDataCommand = interface end
public interface IVsDataCommand
IVsDataCommand 类型公开以下成员。
方法
.gif) |
CreateParameter |
当实现由选件类,创建可传递到下列方法之一的参数对象: DeriveSchema、 Execute或 ExecuteWithoutResults。 |
.gif) |
DeriveParameters(String) |
当实现由选件类派生,可用于特定命令指定的参数。 |
.gif) |
DeriveParameters(String, DataCommandType) |
当实现由选件类派生,可用于特定命令指定的参数。 |
.gif) |
DeriveParameters(String, DataCommandType, Int32) |
当实现由选件类派生,可用于特定命令指定的参数。 |
.gif) |
DeriveSchema(String) |
当实现由选件类,从指定的命令派生返回的架构。模式在数据读取器指示项目格式和块。 |
.gif) |
DeriveSchema(String, DataCommandType) |
当实现由选件类,从指定的命令派生返回的架构。模式在数据读取器指示项目格式和块。 |
.gif) |
DeriveSchema(String, DataCommandType, array<IVsDataParameter[]) |
当实现由选件类,从指定的命令派生返回的架构。 对象的数组。 |
.gif) |
DeriveSchema(String, DataCommandType, array<IVsDataParameter[], Int32) |
当实现由选件类,从指定的命令派生返回的架构。模式在数据读取器指示项目格式和块。 |
.gif) |
Execute(String) |
当实现由选件类,执行一个指定的命令并返回只读的结果。 |
.gif) |
Execute(String, DataCommandType) |
当实现由选件类,执行一个指定的命令并返回只读的结果。 |
.gif) |
Execute(String, DataCommandType, array<IVsDataParameter[]) |
当实现由选件类,执行一个指定的命令并返回只读的结果。 |
.gif) |
Execute(String, DataCommandType, array<IVsDataParameter[], Int32) |
当实现由选件类,执行一个指定的命令并返回只读的结果。 |
.gif) |
ExecuteWithoutResults(String) |
当实现由选件类,执行命令,但未请求结果,而是返回指示调用的结果整数。 |
.gif) |
ExecuteWithoutResults(String, DataCommandType) |
当实现由选件类,执行命令,但未请求结果,而是返回指示调用的结果整数。 |
.gif) |
ExecuteWithoutResults(String, DataCommandType, array<IVsDataParameter[]) |
当实现由选件类,执行命令,可以选择使用参数,但未请求结果,而是返回指示调用的结果整数。 |
.gif) |
ExecuteWithoutResults(String, DataCommandType, array<IVsDataParameter[], Int32) |
当实现由选件类,执行命令,可以选择使用参数,但未请求结果,而是返回指示调用的结果整数。 |
.gif) |
Prepare(String) |
当实现由选件类,准备在数据源中指定的命令执行;命令可然后执行多次,使用不同的参数。 |
.gif) |
Prepare(String, DataCommandType) |
当实现由选件类,准备在数据源中指定的命令执行;命令可然后执行多次,使用不同的参数。 |
.gif) |
Prepare(String, DataCommandType, array<IVsDataParameter[]) |
当实现由选件类,准备在数据源中指定的命令执行;命令可然后执行多次,使用不同的参数。 |
.gif) |
Prepare(String, DataCommandType, array<IVsDataParameter[], Int32) |
当实现由选件类,准备在数据源中指定的命令执行;命令可然后执行多次,使用不同的参数。 |
页首
备注
此接口具有一个基实现。DDEX结构。
请参见
参考
Microsoft.VisualStudio.Data.Services.SupportEntities 命名空间