Class JobStepAction
The action to be executed by a job step.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Sql.dll
Syntax
public class JobStepAction
Constructors
JobStepAction()
Initializes a new instance of the JobStepAction class.
Declaration
public JobStepAction ();
JobStepAction(String, String, String)
Initializes a new instance of the JobStepAction class.
Declaration
public JobStepAction (string value, string type = null, string source = null);
Parameters
String
value
The action value, for example the text of the T-SQL script to execute. |
String
type
Type of action being executed by the job step. Possible values include: 'TSql' |
String
source
The source of the action to execute. Possible values include: 'Inline' |
Properties
Source
Gets or sets the source of the action to execute. Possible values include: 'Inline'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="source")]
public string Source { get; set; }
Property Value
String
|
Type
Gets or sets type of action being executed by the job step. Possible values include: 'TSql'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="type")]
public string Type { get; set; }
Property Value
String
|
Value
Gets or sets the action value, for example the text of the T-SQL script to execute.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="value")]
public string Value { get; set; }
Property Value
String
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
ValidationException
Thrown if validation fails |