共用方式為


ScriptActivityScriptBlock Class

Definition

Script block of scripts.

public class ScriptActivityScriptBlock : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataFactory.Models.ScriptActivityScriptBlock>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataFactory.Models.ScriptActivityScriptBlock>
public class ScriptActivityScriptBlock
type ScriptActivityScriptBlock = class
    interface IJsonModel<ScriptActivityScriptBlock>
    interface IPersistableModel<ScriptActivityScriptBlock>
type ScriptActivityScriptBlock = class
Public Class ScriptActivityScriptBlock
Implements IJsonModel(Of ScriptActivityScriptBlock), IPersistableModel(Of ScriptActivityScriptBlock)
Public Class ScriptActivityScriptBlock
Inheritance
ScriptActivityScriptBlock
Implements

Constructors

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

Initializes a new instance of ScriptActivityScriptBlock.

ScriptActivityScriptBlock(DataFactoryElement<String>, DataFactoryScriptType)

Initializes a new instance of ScriptActivityScriptBlock.

Properties

Parameters

Array of script parameters. Type: array.

QueryType

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

Text

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ScriptActivityScriptBlock>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ScriptActivityScriptBlock>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ScriptActivityScriptBlock>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ScriptActivityScriptBlock>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ScriptActivityScriptBlock>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to