Share via


ScriptActivityScriptBlock Constructors

Definition

Overloads

ScriptActivityScriptBlock(DataFactoryElement<String>, DataFactoryElement<String>)

Initializes a new instance of ScriptActivityScriptBlock.

ScriptActivityScriptBlock(DataFactoryElement<String>, DataFactoryScriptType)

Initializes a new instance of ScriptActivityScriptBlock.

ScriptActivityScriptBlock(DataFactoryElement<String>, DataFactoryElement<String>)

Source:
ScriptActivityScriptBlock.cs

Initializes a new instance of ScriptActivityScriptBlock.

public ScriptActivityScriptBlock (Azure.Core.Expressions.DataFactory.DataFactoryElement<string> text, Azure.Core.Expressions.DataFactory.DataFactoryElement<string> queryType);
new Azure.ResourceManager.DataFactory.Models.ScriptActivityScriptBlock : Azure.Core.Expressions.DataFactory.DataFactoryElement<string> * Azure.Core.Expressions.DataFactory.DataFactoryElement<string> -> Azure.ResourceManager.DataFactory.Models.ScriptActivityScriptBlock
Public Sub New (text As DataFactoryElement(Of String), queryType As DataFactoryElement(Of String))

Parameters

text
DataFactoryElement<String>

The query text. Type: string (or Expression with resultType string).

queryType
DataFactoryElement<String>

The type of the query. Please refer to the ScriptType for valid options. Type: string (or Expression with resultType string).

Exceptions

text or queryType is null.

Applies to

ScriptActivityScriptBlock(DataFactoryElement<String>, DataFactoryScriptType)

Source:
ScriptActivityScriptBlock.cs
Source:
ScriptActivityScriptBlock.cs

Initializes a new instance of ScriptActivityScriptBlock.

public ScriptActivityScriptBlock (Azure.Core.Expressions.DataFactory.DataFactoryElement<string> text, Azure.ResourceManager.DataFactory.Models.DataFactoryScriptType scriptType);
new Azure.ResourceManager.DataFactory.Models.ScriptActivityScriptBlock : Azure.Core.Expressions.DataFactory.DataFactoryElement<string> * Azure.ResourceManager.DataFactory.Models.DataFactoryScriptType -> Azure.ResourceManager.DataFactory.Models.ScriptActivityScriptBlock
Public Sub New (text As DataFactoryElement(Of String), scriptType As DataFactoryScriptType)

Parameters

text
DataFactoryElement<String>

The query text. Type: string (or Expression with resultType string).

scriptType
Azure.ResourceManager.DataFactory.Models.DataFactoryScriptType

The type of the query. Type: string.

Exceptions

text is null.

Applies to