JobDefinition Class

Definition

Contains the definition of a job which is defined in a job store.

C++
public ref class JobDefinition : System::Runtime::Serialization::ISerializable
Inheritance
JobDefinition
Attributes
Implements

Remarks

The actual implementation of this class will happen in M2

Constructors

Properties

Command

Name of the job that needs to be loaded from the specified module.

CommandInfo

Returns information about this job like name, definition, parameters etc.

InstanceId

Unique Guid for this job definition.

JobSourceAdapterType

The type that derives from JobSourceAdapter that contains the logic for invocation and management of this type of job.

JobSourceAdapterTypeName

Job source adapter type name.

ModuleName

Module name for the module containing the source adapter implementation.

Name

A friendly Name for this definition.

Methods

GetObjectData(SerializationInfo, StreamingContext)
Load(Stream)

Load this definition from the specified file on disk.

Save(Stream)

Save this definition to the specified file on disk.

Applies to

Proizvod Verzije
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0