AdoDotNetConnectionSupport.SetParameters Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.