VistaDB 6
VistaDB.Provider Namespace / VistaDBDataAdapter Class / GetBatchedRecordsAffected Method
The zero-based column ordinal of the individual command within the batch.
The number of rows affected in the data store by the specified command within the batch.
An System.Exception thrown during execution of the specified command. Returns a null reference (Nothing in Visual Basic) (Nothing in Visual Basic) if no exception is thrown.


In This Topic
    GetBatchedRecordsAffected Method
    In This Topic
    Returns information about an individual update attempt within a larger batched update.
    Syntax
    'Declaration
     
    
    Protected Function GetBatchedRecordsAffected( _
       ByVal commandIdentifier As System.Integer, _
       ByRef recordsAffected As System.Integer, _
       ByRef error As System.Exception _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As VistaDBDataAdapter
    Dim commandIdentifier As System.Integer
    Dim recordsAffected As System.Integer
    Dim error As System.Exception
    Dim value As System.Boolean
     
    value = instance.GetBatchedRecordsAffected(commandIdentifier, recordsAffected, error)
    protected System.bool GetBatchedRecordsAffected( 
       System.int commandIdentifier,
       out System.int recordsAffected,
       out System.Exception error
    )

    Parameters

    commandIdentifier
    The zero-based column ordinal of the individual command within the batch.
    recordsAffected
    The number of rows affected in the data store by the specified command within the batch.
    error
    An System.Exception thrown during execution of the specified command. Returns a null reference (Nothing in Visual Basic) (Nothing in Visual Basic) if no exception is thrown.

    Return Value

    Information about an individual update attempt within a larger batched update.
    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