SparkModelFactory.SparkSessionCollection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- sessions
- IEnumerable<SparkSession>
Returns
A new SparkSessionCollection instance for mocking.