Share via


SwitchActivity(String, DataFactoryExpression) Constructor

Definition

Initializes a new instance of SwitchActivity.

public SwitchActivity (string name, Azure.ResourceManager.DataFactory.Models.DataFactoryExpression on);
new Azure.ResourceManager.DataFactory.Models.SwitchActivity : string * Azure.ResourceManager.DataFactory.Models.DataFactoryExpression -> Azure.ResourceManager.DataFactory.Models.SwitchActivity
Public Sub New (name As String, on As DataFactoryExpression)

Parameters

name
String

Activity name.

on
DataFactoryExpression

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