共用方式為


SparkModelFactory.SparkSessionCollection Method

Definition

Initializes a new instance of SparkSessionCollection.

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

Parameters

from
Int32
total
Int32

Returns

A new SparkSessionCollection instance for mocking.

Applies to