共用方式為


SparkModelFactory.SparkBatchJobCollection Method

Definition

Initializes a new instance of SparkBatchJobCollection.

public static Azure.Analytics.Synapse.Spark.Models.SparkBatchJobCollection SparkBatchJobCollection (int from = 0, int total = 0, System.Collections.Generic.IEnumerable<Azure.Analytics.Synapse.Spark.Models.SparkBatchJob> sessions = default);
static member SparkBatchJobCollection : int * int * seq<Azure.Analytics.Synapse.Spark.Models.SparkBatchJob> -> Azure.Analytics.Synapse.Spark.Models.SparkBatchJobCollection
Public Shared Function SparkBatchJobCollection (Optional from As Integer = 0, Optional total As Integer = 0, Optional sessions As IEnumerable(Of SparkBatchJob) = Nothing) As SparkBatchJobCollection

Parameters

from
Int32

The start index of fetched sessions.

total
Int32

Number of sessions fetched.

sessions
IEnumerable<SparkBatchJob>

Batch list.

Returns

A new SparkBatchJobCollection instance for mocking.

Applies to