AdoDotNetConnectionSupport.SetParameters Method
Adds new parameters to the given DbCommand command from the specified array of IVsDataParameter parameters.
Namespace: Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Déclaration
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[]
)
Parameters
- command
Type: System.Data.Common.DbCommand
Command to add parameters to.
- parameters
Type: array<Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[]
Array of IVsDataParameter objects for the specified command type.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.