dotConnect for Salesforce Documentation
Devart.Data.Salesforce Namespace / SalesforceCommand Class / QueryAll Property

In This Topic
    QueryAll Property
    In This Topic
    Determines whether to select data from the Recycle Bin - the records that were deleted.
    Syntax
    'Declaration
     
    Public Property QueryAll As Boolean
    public bool QueryAll {get; set;}

    Property Value

    true, if the records that were deleted should be selected; true otherwise. The default value is false.
    Remarks
    Note that you should not set this property to true for selecting data from a Salesforce object that is cached locally. You should disable or delete cache before selecting data with this option enabled. Otherwise, provider throws an exception when selecting data from a cached objects with QueryAll=true: "Can not query table '<table name>' with 'QueryAll' enabled. Please, disable or delete cache for it."
    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