ExcelServicesJob.ResetCreds Method
Facilitates the resetting of credentials for a single task.
Namespace: Microsoft.Office.Excel.Server.Addins.ComputeCluster
Assembly: Microsoft.Office.Excel.Server.Addins.ComputeCluster (in Microsoft.Office.Excel.Server.Addins.ComputeCluster.dll)
Syntax
'Declaration
Public Shared Sub ResetCreds ( _
ClusterName As String, _
TaskName As String, _
UserName As String, _
Password As SecureString _
)
'Usage
Dim ClusterName As String
Dim TaskName As String
Dim UserName As String
Dim Password As SecureString
ExcelServicesJob.ResetCreds(ClusterName, TaskName, _
UserName, Password)
public static void ResetCreds(
string ClusterName,
string TaskName,
string UserName,
SecureString Password
)
Parameters
- ClusterName
Type: System.String
Cluster to connect to and reset its cached credentials.
- TaskName
Type: System.String
Sets the task credentials.
- UserName
Type: System.String
Domain and user name for setting credentials.
- Password
Type: System.Security.SecureString
The secure string password. For more information about secure strings, see the SecureString class.
See Also
Reference
Microsoft.Office.Excel.Server.Addins.ComputeCluster Namespace