Share via


AdoDotNetConnectionSupport.SetParameters Method

Definition

Adds new parameters to the given DbCommand command from the specified array of IVsDataParameter parameters.

protected:
 static void SetParameters(System::Data::Common::DbCommand ^ command, cli::array <Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataParameter ^> ^ parameters);
protected static void SetParameters (System.Data.Common.DbCommand command, Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[] parameters);
static member SetParameters : System.Data.Common.DbCommand * Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[] -> unit
Protected Shared Sub SetParameters (command As DbCommand, parameters As IVsDataParameter())

Parameters

command
DbCommand

Command to add parameters to.

parameters
IVsDataParameter[]

Array of IVsDataParameter objects for the specified command type.

Applies to