Share via


IClusterService.QueueJob Method (IJob, String, Byte )

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 cached credentials.

Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)

Usage

Syntax

'Declaration
Function QueueJob ( _
    job As IJob, _
    userName As String, _
    cachedCredentials As Byte() _
) As IJob
IJob QueueJob (
    IJob job,
    string userName,
    byte[] cachedCredentials
)
IJob^ QueueJob (
    IJob^ job, 
    String^ userName, 
    array<unsigned char>^ cachedCredentials
)
IJob QueueJob (
    IJob job, 
    String userName, 
    byte[] cachedCredentials
)
function QueueJob (
    job : IJob, 
    userName : String, 
    cachedCredentials : byte[]
) : IJob

Parameters

  • job
    An IJob interface of the job to add to the cluster.
  • userName
    The name of the RunAs user.
  • cachedCredentials
    The encrypted credentials that are cached on the client computer.

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