SuspendJobCommand Class

This cmdlet suspends the Job2 job. Errors are added for each Job that is not Job2.


Namespace: Microsoft.PowerShell.Commands
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As SuspendJobCommand

[CmdletAttribute("Suspend", "Job", SupportsShouldProcess=true, DefaultParameterSetName="SessionIdParameterSet", HelpUri="http://go.microsoft.com/fwlink/?LinkID=210613")] 
[SuppressMessageAttribute("Microsoft.PowerShell", "PS1012:CallShouldProcessOnlyIfDeclaringSupport")] 
[OutputTypeAttribute(System.Compiler.TypeNode[])] 
public class SuspendJobCommand : JobCmdletBase, IDisposable
/** @attribute CmdletAttribute("Suspend", "Job", SupportsShouldProcess=true, DefaultParameterSetName="SessionIdParameterSet", HelpUri="http://go.microsoft.com/fwlink/?LinkID=210613") */ 
/** @attribute SuppressMessageAttribute("Microsoft.PowerShell", "PS1012:CallShouldProcessOnlyIfDeclaringSupport") */ 
/** @attribute OutputTypeAttribute(System.Compiler.TypeNode[]) */ 
public class SuspendJobCommand extends JobCmdletBase implements IDisposable
CmdletAttribute("Suspend", "Job", SupportsShouldProcess=true, DefaultParameterSetName="SessionIdParameterSet", HelpUri="http://go.microsoft.com/fwlink/?LinkID=210613") 
SuppressMessageAttribute("Microsoft.PowerShell", "PS1012:CallShouldProcessOnlyIfDeclaringSupport") 
OutputTypeAttribute(System.Compiler.TypeNode[]) 
public class SuspendJobCommand extends JobCmdletBase implements IDisposable

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

 

Target Platforms


Show: