SwitchActivity(String, Expression) Constructor
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 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.