Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Declaration
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.