Table of Contents

Class RunSqlScheduledTaskAddIn

Namespace
Dynamicweb.Scheduling.ScheduledTaskAddIns
Assembly
Dynamicweb.Core.dll
[AddInName(".RunSqlAddIn")]
[AddInLabel("Run SQL add-in")]
[AddInDescription("Execute SQL scheduled task add-in")]
public class RunSqlScheduledTaskAddIn : BaseScheduledTaskAddIn
Inheritance
RunSqlScheduledTaskAddIn
Inherited Members

Properties

LogDebugInfo

[AddInParameter("Log debugging info")]
[AddInParameterEditor(typeof(YesNoParameterEditor), "")]
public bool LogDebugInfo { get; set; }

Property Value

bool

SqlQuery

[AddInParameter("SQL Query")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=NewUIinput;TextArea=True;style=height:60px;")]
public string? SqlQuery { get; set; }

Property Value

string

Methods

Run()

Main method in ScheduledTask Addin - is run when scheduled Task is run

public override bool Run()

Returns

bool
To top