AdoDotNetConnectionSupport.SetParameters 方法

添加新参数添加到特定 DbCommand 命令从指定的 IVsDataParameter 参数。

命名空间:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
程序集:  Microsoft.VisualStudio.Data.Framework(在 Microsoft.VisualStudio.Data.Framework.dll 中)

语法

声明
Protected Shared Sub SetParameters ( _
    command As DbCommand, _
    parameters As IVsDataParameter() _
)
protected static void SetParameters(
    DbCommand command,
    IVsDataParameter[] parameters
)
protected:
static void SetParameters(
    DbCommand^ command, 
    array<IVsDataParameter^>^ parameters
)
static member SetParameters : 
        command:DbCommand * 
        parameters:IVsDataParameter[] -> unit 
protected static function SetParameters(
    command : DbCommand, 
    parameters : IVsDataParameter[]
)

参数

.NET Framework 安全性

请参见

参考

AdoDotNetConnectionSupport 类

Microsoft.VisualStudio.Data.Framework.AdoDotNet 命名空间