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 | |
---|---|---|
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. | |
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. | |
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 | |
---|---|---|
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 | |
---|---|---|
Equals | (Inherited from Object) | |
GetHashCode | (Inherited from Object) | |
GetJobByInstanceId | Overridden. Retrieves a job that contains the specified global identifier. Introduced in Windows PowerShell 3.0. | |
GetJobBySessionId | Overridden. Retrieves a job that contains the specified session identifier. Introduced in Windows PowerShell 3.0. | |
GetJobs | Overridden. Retrieves a list of jobs that are currently available in this store. Introduced in Windows PowerShell 3.0. | |
GetJobsByCommand | Overridden. Retrieves a list of jobs that run the specified command. Introduced in Windows PowerShell 3.0. | |
GetJobsByFilter | Overridden. Retrieves a list of jobs based on adapter-specific filter parameters. Introduced in Windows PowerShell 3.0. | |
GetJobsByName | Overridden. Retrieves a list of jobs that matches the specified names. Introduced in Windows PowerShell 3.0. | |
GetJobsByState | Overridden. Retrieves a list of jobs that are in the specified state. Introduced in Windows PowerShell 3.0. | |
GetType | (Inherited from Object) | |
NewJob | Overloaded. Overridden. Creates a new instance of the Job2 results class. Introduced in Windows PowerShell 3.0. | |
NewJob | Overloaded. Creates a new job from a job definition or job invocation information. Introduced in Windows PowerShell 3.0. (Inherited from JobSourceAdapter) | |
PersistJob | Overridden. Saves the scheduled job to the scheduled job store. Introduced in Windows PowerShell 3.0. | |
RemoveJob | Overridden. Removes a job from the store. Introduced in Windows PowerShell 3.0. | |
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) | |
ToString | (Inherited from Object) |
Top
Protected Methods
(see also Extension Methods)
Name | Description | |
---|---|---|
Finalize | (Inherited from Object) | |
MemberwiseClone | (Inherited from Object) | |
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 | |
---|---|---|
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.) | |
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.) | |
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.) | |
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.) | |
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.) | |
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.) | |
ToEnumerable | This element is introduced in Windows PowerShell 5.0. (Defined by CollectionExtensions.) |
Top
See Also
Reference
ScheduledJobSourceAdapter Class
Microsoft.PowerShell.ScheduledJob Namespace