Share via


AdoDotNetConnectionSupport.DeriveParametersCore Method

Derives parameters that can be specified for a given command.

Namespace:  Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Protected Overridable Function DeriveParametersCore ( _
    command As String, _
    commandType As DataCommandType, _
    commandTimeout As Integer _
) As IVsDataParameter()
protected virtual IVsDataParameter[] DeriveParametersCore(
    string command,
    DataCommandType commandType,
    int commandTimeout
)
protected:
virtual array<IVsDataParameter^>^ DeriveParametersCore(
    String^ command, 
    DataCommandType commandType, 
    int commandTimeout
)
abstract DeriveParametersCore : 
        command:string * 
        commandType:DataCommandType * 
        commandTimeout:int -> IVsDataParameter[] 
override DeriveParametersCore : 
        command:string * 
        commandType:DataCommandType * 
        commandTimeout:int -> IVsDataParameter[] 
protected function DeriveParametersCore(
    command : String, 
    commandType : DataCommandType, 
    commandTimeout : int
) : IVsDataParameter[]

Parameters

  • command
    Type: System.String

    A data source–specific command from which to derive parameters.

  • commandTimeout
    Type: System.Int32

    The length of time, in seconds, to block the client before canceling the parameter derivation and returning to the caller. A value of zero indicates infinite time-out; value of -1 indicates a provider default.

Return Value

Type: array<Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataParameter[]
An array of IVsDataParameter objects, each one representing a parameter derived from the command.

.NET Framework Security

See Also

Reference

AdoDotNetConnectionSupport Class

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace