VistaDB 6
VistaDB.Provider Namespace / VistaDBDataAdapter Class / GetBatchedParameter Method
The index of the command to retrieve the parameter from.
The index of the parameter within the command.


In This Topic
    GetBatchedParameter Method
    In This Topic
    Returns a System.Data.IDataParameter from one of the commands in the current batch.
    Syntax
    'Declaration
     
    
    Protected Function GetBatchedParameter( _
       ByVal commandIdentifier As System.Integer, _
       ByVal parameterIndex As System.Integer _
    ) As System.Data.IDataParameter
    'Usage
     
    
    Dim instance As VistaDBDataAdapter
    Dim commandIdentifier As System.Integer
    Dim parameterIndex As System.Integer
    Dim value As System.Data.IDataParameter
     
    value = instance.GetBatchedParameter(commandIdentifier, parameterIndex)
    protected System.Data.IDataParameter GetBatchedParameter( 
       System.int commandIdentifier,
       System.int parameterIndex
    )

    Parameters

    commandIdentifier
    The index of the command to retrieve the parameter from.
    parameterIndex
    The index of the parameter within the command.

    Return Value

    The System.Data.IDataParameter specified.
    Exceptions
    ExceptionDescription
    The adapter does not support batches.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also