Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

JobDefinition Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Contains the definition of a job that is defined in a job store. Introduced in Windows PowerShell 3.0.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

System.Object
  System.Management.Automation.JobDefinition

[SerializableAttribute]
public class JobDefinition : ISerializable

NameDescription
System_CAPS_protmethodJobDefinition(SerializationInfo, StreamingContext)

Initializes a new instance of the JobDefinition class with serialization information. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodJobDefinition(Type, String, String)

Initializes a new instance of the JobDefinition class with the type of job source adapter, the command string, and the friendly name of the job. Introduced in Windows PowerShell 3.0.

NameDescription
System_CAPS_pubpropertyCommand

Gets the name of the job to load from the module. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyCommandInfo

Gets information about this job such as the name, the definition, and required or optional parameters. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyInstanceId

Gets the global identifier for this job definition instance. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyJobSourceAdapterType

Gets the type that derives from JobSourceAdapter that contains the logic for the invocation and management of this type of job. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyJobSourceAdapterTypeName

Gets or sets the type name of the job source adapter. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyModuleName

Gets or sets the name of the module that contains the source adapter implementation. Introduced in Windows PowerShell 3.0.

System_CAPS_pubpropertyName

Gets or sets the friendly name for this definition. Introduced in Windows PowerShell 3.0.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo, StreamingContext)

Populates an object with the data needed to serialize the job definition. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodLoad(Stream)

Loads the job definition from a stream. Introduced in Windows PowerShell 3.0.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSave(Stream)

Save the job definition to a stream. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodToString()

(Inherited from Object.)

The actual implementation of this class will happen in M2.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: