JobDefinition Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- info
- SerializationInfo
- context
- StreamingContext
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.