Share via


BatchCompletionEventArgs.AdvanceToNextBatch Property

Gets or sets a value that indicates whether the enumerator should invoke the function to get another batch of External Items.

Namespace:  Microsoft.BusinessData.Runtime
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Public MustOverride Property AdvanceToNextBatch As Boolean
    Get
    Set
'Usage
Dim instance As BatchCompletionEventArgs
Dim value As Boolean

value = instance.AdvanceToNextBatch

instance.AdvanceToNextBatch = value
public abstract bool AdvanceToNextBatch { get; set; }

Property Value

Type: System.Boolean

true if the enumerator invokes the function, otherwise, false.

Remarks

By default, this property returns is true. Each listener can set this property to true or false. If none of the listeners set it to false, the enumerator will attempt to get another batch. If any of the listeners set it to false, the enumerator will not attempt to get another batch, even if some listeners set this property to true.

See Also

Reference

BatchCompletionEventArgs Class

BatchCompletionEventArgs Members

Microsoft.BusinessData.Runtime Namespace