ScheduledTasks Constructor (String)

Initializes a new instance of the ScheduledTasks class.

Namespace:  Microsoft.Office.Excel.Server.Addins.ComputeCluster.TaskScheduler
Assembly:  Microsoft.Office.Excel.Server.Addins.ComputeCluster (in Microsoft.Office.Excel.Server.Addins.ComputeCluster.dll)


Public Sub New ( _
    computer As String _
Dim computer As String

Dim instance As New ScheduledTasks(computer)
public ScheduledTasks(
    string computer


  • computer
    Type: System.String
    The UNC name of the remote computer, for example, "\\CLUSTERONE".


Use this constructor to access the ScheduledTasks object of a remote computer identified by a UNC name. The calling process must have administrative privileges on the remote computer.

This method throws an exception if the Task Scheduler cannot be accessed, and can give strange results if the argument is not in UNC format.

See Also


ScheduledTasks Class

ScheduledTasks Members

ScheduledTasks Overload

Microsoft.Office.Excel.Server.Addins.ComputeCluster.TaskScheduler Namespace