Class SchedulingController
Inheritance
System.Object
SchedulingController
Assembly: DotNetNuke.dll
Syntax
public class SchedulingController : object
Methods
|
Improve this Doc
View Source
AddSchedule(String, Int32, String, Int32, String, Int32, String, Boolean, Boolean, String, String, String, DateTime)
Declaration
public static int AddSchedule(string typeFullName, int timeLapse, string timeLapseMeasurement, int retryTimeLapse, string retryTimeLapseMeasurement, int retainHistoryNum, string attachToEvent, bool catchUpEnabled, bool enabled, string objectDependencies, string servers, string friendlyName, DateTime scheduleStartDate)
Parameters
Type |
Name |
Description |
System.String |
typeFullName |
|
System.Int32 |
timeLapse |
|
System.String |
timeLapseMeasurement |
|
System.Int32 |
retryTimeLapse |
|
System.String |
retryTimeLapseMeasurement |
|
System.Int32 |
retainHistoryNum |
|
System.String |
attachToEvent |
|
System.Boolean |
catchUpEnabled |
|
System.Boolean |
enabled |
|
System.String |
objectDependencies |
|
System.String |
servers |
|
System.String |
friendlyName |
|
DateTime |
scheduleStartDate |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
AddSchedule(String, Int32, String, Int32, String, Int32, String, Boolean, Boolean, String, String, String)
Declaration
public static int AddSchedule(string typeFullName, int timeLapse, string timeLapseMeasurement, int retryTimeLapse, string retryTimeLapseMeasurement, int retainHistoryNum, string attachToEvent, bool catchUpEnabled, bool enabled, string objectDependencies, string servers, string friendlyName)
Parameters
Type |
Name |
Description |
System.String |
typeFullName |
|
System.Int32 |
timeLapse |
|
System.String |
timeLapseMeasurement |
|
System.Int32 |
retryTimeLapse |
|
System.String |
retryTimeLapseMeasurement |
|
System.Int32 |
retainHistoryNum |
|
System.String |
attachToEvent |
|
System.Boolean |
catchUpEnabled |
|
System.Boolean |
enabled |
|
System.String |
objectDependencies |
|
System.String |
servers |
|
System.String |
friendlyName |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
AddScheduleHistory(ScheduleHistoryItem)
Declaration
public static int AddScheduleHistory(ScheduleHistoryItem objScheduleHistoryItem)
Parameters
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
AddScheduleItemSetting(Int32, String, String)
Declaration
public static void AddScheduleItemSetting(int scheduleID, string name, string value)
Parameters
Type |
Name |
Description |
System.Int32 |
scheduleID |
|
System.String |
name |
|
System.String |
value |
|
|
Improve this Doc
View Source
CanRunOnThisServer(String)
Declaration
public static bool CanRunOnThisServer(string servers)
Parameters
Type |
Name |
Description |
System.String |
servers |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
DeleteSchedule(Int32)
Declaration
public static void DeleteSchedule(int scheduleID)
Parameters
Type |
Name |
Description |
System.Int32 |
scheduleID |
|
|
Improve this Doc
View Source
GetActiveThreadCount()
Declaration
public static int GetActiveThreadCount()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetFreeThreadCount()
Declaration
public static int GetFreeThreadCount()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetMaxThreadCount()
Declaration
public static int GetMaxThreadCount()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
GetNextScheduledTask(String)
Declaration
public static ScheduleItem GetNextScheduledTask(string server)
Parameters
Type |
Name |
Description |
System.String |
server |
|
Returns
|
Improve this Doc
View Source
GetSchedule()
Declaration
public static List<ScheduleItem> GetSchedule()
Returns
|
Improve this Doc
View Source
GetSchedule(Int32)
Declaration
public static ScheduleItem GetSchedule(int scheduleID)
Parameters
Type |
Name |
Description |
System.Int32 |
scheduleID |
|
Returns
|
Improve this Doc
View Source
GetSchedule(String, String)
Declaration
public static ScheduleItem GetSchedule(string typeFullName, string server)
Parameters
Type |
Name |
Description |
System.String |
typeFullName |
|
System.String |
server |
|
Returns
|
Improve this Doc
View Source
GetSchedule(String)
Declaration
public static List<ScheduleItem> GetSchedule(string server)
Parameters
Type |
Name |
Description |
System.String |
server |
|
Returns
|
Improve this Doc
View Source
GetScheduleByEvent(String, String)
Declaration
public static List<ScheduleItem> GetScheduleByEvent(string eventName, string server)
Parameters
Type |
Name |
Description |
System.String |
eventName |
|
System.String |
server |
|
Returns
|
Improve this Doc
View Source
GetScheduleHistory(Int32)
Declaration
public static List<ScheduleHistoryItem> GetScheduleHistory(int scheduleID)
Parameters
Type |
Name |
Description |
System.Int32 |
scheduleID |
|
Returns
|
Improve this Doc
View Source
GetScheduleItemSettings(Int32)
Declaration
public static Hashtable GetScheduleItemSettings(int scheduleID)
Parameters
Type |
Name |
Description |
System.Int32 |
scheduleID |
|
Returns
Type |
Description |
Hashtable |
|
|
Improve this Doc
View Source
GetScheduleProcessing()
Declaration
public static Collection GetScheduleProcessing()
Returns
Type |
Description |
Collection |
|
|
Improve this Doc
View Source
GetScheduleQueue()
Declaration
public static Collection GetScheduleQueue()
Returns
Type |
Description |
Collection |
|
|
Improve this Doc
View Source
GetScheduleStatus()
Declaration
public static ScheduleStatus GetScheduleStatus()
Returns
|
Improve this Doc
View Source
PurgeScheduleHistory()
Declaration
public static void PurgeScheduleHistory()
|
Improve this Doc
View Source
ReloadSchedule()
Declaration
public static void ReloadSchedule()
|
Improve this Doc
View Source
UpdateSchedule(ScheduleItem)
Declaration
public static void UpdateSchedule(ScheduleItem scheduleItem)
Parameters
|
Improve this Doc
View Source
UpdateSchedule(Int32, String, Int32, String, Int32, String, Int32, String, Boolean, Boolean, String, String, String, DateTime)
Declaration
public static void UpdateSchedule(int scheduleID, string typeFullName, int timeLapse, string timeLapseMeasurement, int retryTimeLapse, string retryTimeLapseMeasurement, int retainHistoryNum, string attachToEvent, bool catchUpEnabled, bool enabled, string objectDependencies, string servers, string friendlyName, DateTime scheduleStartDate)
Parameters
Type |
Name |
Description |
System.Int32 |
scheduleID |
|
System.String |
typeFullName |
|
System.Int32 |
timeLapse |
|
System.String |
timeLapseMeasurement |
|
System.Int32 |
retryTimeLapse |
|
System.String |
retryTimeLapseMeasurement |
|
System.Int32 |
retainHistoryNum |
|
System.String |
attachToEvent |
|
System.Boolean |
catchUpEnabled |
|
System.Boolean |
enabled |
|
System.String |
objectDependencies |
|
System.String |
servers |
|
System.String |
friendlyName |
|
DateTime |
scheduleStartDate |
|
|
Improve this Doc
View Source
UpdateSchedule(Int32, String, Int32, String, Int32, String, Int32, String, Boolean, Boolean, String, String, String)
Declaration
public static void UpdateSchedule(int scheduleID, string typeFullName, int timeLapse, string timeLapseMeasurement, int retryTimeLapse, string retryTimeLapseMeasurement, int retainHistoryNum, string attachToEvent, bool catchUpEnabled, bool enabled, string objectDependencies, string servers, string friendlyName)
Parameters
Type |
Name |
Description |
System.Int32 |
scheduleID |
|
System.String |
typeFullName |
|
System.Int32 |
timeLapse |
|
System.String |
timeLapseMeasurement |
|
System.Int32 |
retryTimeLapse |
|
System.String |
retryTimeLapseMeasurement |
|
System.Int32 |
retainHistoryNum |
|
System.String |
attachToEvent |
|
System.Boolean |
catchUpEnabled |
|
System.Boolean |
enabled |
|
System.String |
objectDependencies |
|
System.String |
servers |
|
System.String |
friendlyName |
|
|
Improve this Doc
View Source
UpdateScheduleHistory(ScheduleHistoryItem)
Declaration
public static void UpdateScheduleHistory(ScheduleHistoryItem objScheduleHistoryItem)
Parameters
Extension Methods