Compartilhar via


JobDefinition Constructors

Definition

Overloads

JobDefinition(SerializationInfo, StreamingContext)
JobDefinition(Type, String, String)

Public constructor for testing.

JobDefinition(SerializationInfo, StreamingContext)

protected:
 JobDefinition(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected JobDefinition (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Management.Automation.JobDefinition : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Management.Automation.JobDefinition
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

Applies to

JobDefinition(Type, String, String)

Public constructor for testing.

public:
 JobDefinition(Type ^ jobSourceAdapterType, System::String ^ command, System::String ^ name);
public:
 JobDefinition(Platform::Type ^ jobSourceAdapterType, Platform::String ^ command, Platform::String ^ name);
public JobDefinition (Type jobSourceAdapterType, string command, string name);
new System.Management.Automation.JobDefinition : Type * string * string -> System.Management.Automation.JobDefinition
Public Sub New (jobSourceAdapterType As Type, command As String, name As String)

Parameters

jobSourceAdapterType
Type

Type of adapter to use to create a job.

command
String

The command string.

name
String

The job name.

Applies to