To get all of the partition Indices in a structuredstream, as a series from 0 to N-1

Namespace: Microsoft.Cosmos.ExportClient
Assembly: Microsoft.Cosmos.ExportClient (in Microsoft.Cosmos.ExportClient.dll) Version: 10.2.0.0 (10.2.2.0)

Syntax

C#
public override PartitionIndicesTask GetAllPartitionIndices(
	Object state
)
Visual Basic
Public Overrides Function GetAllPartitionIndices ( _
	state As Object _
) As PartitionIndicesTask
Visual C++
public:
virtual PartitionIndicesTask^ GetAllPartitionIndices(
	Object^ state
) override

Parameters

state
Type: Object
State in a task

Return Value

Return a task to get all partition Indices

See Also