共用方式為


JobRepository Class

Definition

Class which has list of job objects currently active in the system.

public ref class JobRepository : System::Management::Automation::Repository<System::Management::Automation::Job ^>
public class JobRepository : System.Management.Automation.Repository<System.Management.Automation.Job>
type JobRepository = class
    inherit Repository<Job>
Public Class JobRepository
Inherits Repository(Of Job)
Inheritance
JobRepository

Properties

Jobs

Returns the list of available job objects.

Methods

Add(T)

Add an item to the repository.

(Inherited from Repository<T>)
GetItem(Guid)

Gets the specified Item.

(Inherited from Repository<T>)
GetItems() (Inherited from Repository<T>)
GetJob(Guid)

Returns the Job whose InstanceId matches the parameter.

GetKey(Job)

Returns the instance id of the job as key.

GetKey(T)

Get a key for the specified item.

(Inherited from Repository<T>)
Remove(T)

Remove the specified item from the repository.

(Inherited from Repository<T>)

Applies to