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

'宣言
Protected Shared Sub SetParameters ( _
    command As DbCommand, _
    parameters As IVsDataParameter() _
)
'使用
Dim command As DbCommand
Dim parameters As IVsDataParameter()

AdoDotNetConnectionSupport.SetParameters(command, parameters)
protected static void SetParameters(
    DbCommand command,
    IVsDataParameter[] parameters
)
protected:
static void SetParameters(
    DbCommand^ command, 
    array<IVsDataParameter^>^ parameters
)
protected static function SetParameters(
    command : DbCommand, 
    parameters : IVsDataParameter[]
)

Parameters

  • parameters
    Type: []

    Array of IVsDataParameter objects for the specified command type.

Permissions

See Also

Reference

AdoDotNetConnectionSupport Class

AdoDotNetConnectionSupport Members

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace