当实现由选件类,准备在数据源中指定的命令执行;命令可然后执行多次,使用不同的参数。
命名空间: Microsoft.VisualStudio.Data.Services.SupportEntities
程序集: Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)
语法
声明
Function Prepare ( _
command As String _
) As String
string Prepare(
string command
)
String^ Prepare(
String^ command
)
abstract Prepare :
command:string -> string
function Prepare(
command : String
) : String
参数
- command
类型:System.String
特定于数据源的命令执行。
返回值
类型:System.String
以后可以传递给 Execute 或 ExecuteWithoutResults 方法使用命令使做好的命令的标识符键入 Prepared。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。