ScheduledJobSourceAdapter Members

Provides functionality for retrieving results of scheduled job runs from the scheduled job store. This class cannot be inherited. Introduced in Windows PowerShell 3.0.

The following tables list the members exposed by the ScheduledJobSourceAdapter type.

Public Constructors

  Name Description
  ScheduledJobSourceAdapter Initializes a new instance of the ScheduledJobSourceAdapter class. Introduced in Windows PowerShell 3.0.

Top

Public Fields

  Name Description
public field static AfterFilter Specifies in the GetJobsByFilter method to search for executed job runs after a particular date. This field is constant. Introduced in Windows PowerShell 3.0.
public field static BeforeFilter Specifies in the GetJobsByFilter method to search for executed job runs before a particular date. This field is constant. Introduced in Windows PowerShell 3.0.
public field static NewestFilter Specifies in the GetJobsByFilter method to search for the newest executed job runs. This field is constant. Introduced in Windows PowerShell 3.0.

Top

Public Properties

  Name Description
public property Name  Gets or sets the name of the job store. Introduced in Windows PowerShell 3.0. (Inherited from JobSourceAdapter)

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Equals  (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetJobByInstanceId Overridden. Retrieves a job that contains the specified global identifier. Introduced in Windows PowerShell 3.0.
public method GetJobBySessionId Overridden. Retrieves a job that contains the specified session identifier. Introduced in Windows PowerShell 3.0.
public method GetJobs Overridden. Retrieves a list of jobs that are currently available in this store. Introduced in Windows PowerShell 3.0.
public method GetJobsByCommand Overridden. Retrieves a list of jobs that run the specified command. Introduced in Windows PowerShell 3.0.
public method GetJobsByFilter Overridden. Retrieves a list of jobs based on adapter-specific filter parameters. Introduced in Windows PowerShell 3.0.
public method GetJobsByName Overridden. Retrieves a list of jobs that matches the specified names. Introduced in Windows PowerShell 3.0.
public method GetJobsByState Overridden. Retrieves a list of jobs that are in the specified state. Introduced in Windows PowerShell 3.0.
public method GetType  (Inherited from Object)
public method NewJob Overloaded. Overridden. Creates a new instance of the Job2 results class. Introduced in Windows PowerShell 3.0.
public method NewJob  Overloaded. Creates a new job from a job definition or job invocation information. Introduced in Windows PowerShell 3.0. (Inherited from JobSourceAdapter)
public method PersistJob Overridden. Saves the scheduled job to the scheduled job store. Introduced in Windows PowerShell 3.0.
public method RemoveJob Overridden. Removes a job from the store. Introduced in Windows PowerShell 3.0.
public method StoreJobIdForReuse  Stores the identifier information for a job so that it can be reconstructed at a later time. Introduced in Windows PowerShell 3.0. (Inherited from JobSourceAdapter)
public method ToString  (Inherited from Object)

Top

Protected Methods

(see also Extension Methods)

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)
protected method RetrieveJobIdForReuse  Retrieves a token that allows for the construction of a job with a previously assigned job identifier and job instance identifier. Introduced in Windows PowerShell 3.0. (Inherited from JobSourceAdapter)

Top

Extension Methods

  Name Description
public extension method As  Use this method to adapt an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  This is called to adapt an object from a foreign app domain to a known interface in this appDomainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  Adapts an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  Use this method to adapt and extend an object so that you can pass it to a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  This is called to adapt and extend an object that we wish to pass to a foreign app domainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  Used to extend an object with an interface from a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method ToEnumerable  This element is introduced in Windows PowerShell 5.0. (Defined by CollectionExtensions.)

Top

See Also

Reference

ScheduledJobSourceAdapter Class
Microsoft.PowerShell.ScheduledJob Namespace