Skip to content

ScriptExecutionProps

Properties for defining a ScriptExecution.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dms-scriptexecution

Initializer

using AlibabaCloud.SDK.ROS.CDK.Dms;
new ScriptExecutionProps {
    object DbId,
    object Logic,
    object Script,
    object Tid = null
};

Properties

Name Type Description
DbId object Property dbId: The database ID.
Logic object Property logic: Whether it is a logical database.
Script object Property script: The specific SQL script to execute.
Tid object Property tid: The tenant ID.

DbIdRequired

public object DbId { get; set; }
  • Type: object

Property dbId: The database ID.

This parameter corresponds to the DatabaseId parameter in interfaces like SearchDatabase, ListDatabases, GetDatabase, etc. You can call these interfaces to obtain the value.


LogicRequired

public object Logic { get; set; }
  • Type: object

Property logic: Whether it is a logical database.


ScriptRequired

public object Script { get; set; }
  • Type: object

Property script: The specific SQL script to execute.

Includes DQL, DDL, and DML. Whether DDL and DML are allowed depends on the security configuration of the instance.


TidOptional

public object Tid { get; set; }
  • Type: object

Property tid: The tenant ID.

Obtain this from the tenant ID information displayed when hovering over the top-right corner avatar.