Share via


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

'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

.NET Framework Security

See Also

Reference

AdoDotNetConnectionSupport Class

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace