IClusterService.QueueJob Method (IJob, String, String)
This method supports the infrastructure and is not intended to be used directly from your code.
Adds the specified job to the cluster and scheduling queue using the specified user name and password.
Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)
Usage
Syntax
'Declaration
Function QueueJob ( _
job As IJob, _
userName As String, _
password As String _
) As IJob
IJob QueueJob (
IJob job,
string userName,
string password
)
IJob^ QueueJob (
IJob^ job,
String^ userName,
String^ password
)
IJob QueueJob (
IJob job,
String userName,
String password
)
function QueueJob (
job : IJob,
userName : String,
password : String
) : IJob
Parameters
- job
An IJob interface of the job to add to the cluster.
- userName
The name of the RunAs user.
- password
The RunAs user's password.
Return Value
An IJob interface of the job that was added to the cluster.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Microsoft Windows Compute Cluster Server 2003, Windows Server 2003, Windows XP
Target Platforms
Microsoft Windows Compute Cluster Server 2003, Windows Server 2003 with Compute Cluster Pack Client Utilities, Windows XP with Compute Cluster Pack Client Utilities
See Also
Reference
IClusterService Interface
IClusterService Members
Microsoft.ComputeCluster Namespace