VistaDB 6
VistaDB.Provider Namespace / VistaDBCommand Class / Cancel Method


In This Topic
    Cancel Method
    In This Topic
    Attempts to cancels the execution of a System.Data.Common.DbCommand. Attempts to cancel the execution of a query, if no query is running this call does nothing. Cancel will also cause the VistaDBDataReader object to discard any unread rows.
    Syntax
    'Declaration
     
    
    Public Overrides NotOverridable Sub Cancel() 
    'Usage
     
    
    Dim instance As VistaDBCommand
     
    instance.Cancel()
    public override void Cancel()
    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

    Reference

    VistaDBCommand Class
    VistaDBCommand Members
    VistaDBDataReader