ImpersonationHelper.SetScheduledTaskCredentials Method
Sets the credential cache for the scheduled task with the credentials supplied to the impersonation object.
Namespace: Microsoft.Office.Excel.Server.Addins.ComputeCluster.Security
Assembly: Microsoft.Office.Excel.Server.Addins.ComputeCluster (in Microsoft.Office.Excel.Server.Addins.ComputeCluster.dll)
Syntax
'Declaration
Public Sub SetScheduledTaskCredentials ( _
Task As Task _
)
'Usage
Dim instance As ImpersonationHelper
Dim Task As Task
instance.SetScheduledTaskCredentials(Task)
public void SetScheduledTaskCredentials(
Task Task
)
Parameters
- Task
Type: Microsoft.Office.Excel.Server.Addins.ComputeCluster.TaskScheduler.Task
An instantiated task object.
See Also
Reference
Microsoft.Office.Excel.Server.Addins.ComputeCluster.Security Namespace