Поделиться через


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[]
)

Параметры

  • command
    Тип: DbCommand

    Добавление параметров в команду.

Безопасность платформы .NET Framework

См. также

Ссылки

AdoDotNetConnectionSupport Класс

Microsoft.VisualStudio.Data.Framework.AdoDotNet - пространство имен