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)

Syntax

'Declaration
Public Sub New ( _
    computer As String _
)
'Usage
Dim computer As String

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

Parameters

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

Remarks

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

Reference

ScheduledTasks Class

ScheduledTasks Members

ScheduledTasks Overload

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