共用方式為


SwitchActivity(String, Expression) Constructor

Definition

Initializes a new instance of SwitchActivity.

public SwitchActivity (string name, Azure.Analytics.Synapse.Artifacts.Models.Expression on);
new Azure.Analytics.Synapse.Artifacts.Models.SwitchActivity : string * Azure.Analytics.Synapse.Artifacts.Models.Expression -> Azure.Analytics.Synapse.Artifacts.Models.SwitchActivity
Public Sub New (name As String, on As Expression)

Parameters

name
String

Activity name.

on
Expression

An expression that would evaluate to a string or integer. This is used to determine the block of activities in cases that will be executed.

Exceptions

name or on is null.

Applies to