DisableScheduledJobCommand Class
Disables a scheduled job definition. This class cannot be inherited. This SDK programming element is introduced in Windows PowerShell 3.0.
Namespace: Microsoft.PowerShell.ScheduledJob
Assembly: Microsoft.PowerShell.ScheduledJob (in Microsoft.PowerShell.ScheduledJob.dll)
Usage
'Usage
Dim instance As DisableScheduledJobCommand
Syntax
'Declaration
<CmdletAttribute("Disable", "ScheduledJob", SupportsShouldProcess:=True, DefaultParameterSetName:="Definition", HelpUri:="https://go.microsoft.com/fwlink/?LinkID=223927")> _
<OutputTypeAttribute(System.Compiler.TypeNode[])> _
Public NotInheritable Class DisableScheduledJobCommand
Inherits DisableScheduledJobDefinitionBase
[CmdletAttribute("Disable", "ScheduledJob", SupportsShouldProcess=true, DefaultParameterSetName="Definition", HelpUri="https://go.microsoft.com/fwlink/?LinkID=223927")]
[OutputTypeAttribute(System.Compiler.TypeNode[])]
public sealed class DisableScheduledJobCommand : DisableScheduledJobDefinitionBase
[CmdletAttribute(L"Disable", L"ScheduledJob", SupportsShouldProcess=true, DefaultParameterSetName=L"Definition", HelpUri=L"https://go.microsoft.com/fwlink/?LinkID=223927")]
[OutputTypeAttribute(System.Compiler.TypeNode[])]
public ref class DisableScheduledJobCommand sealed : public DisableScheduledJobDefinitionBase
/** @attribute CmdletAttribute("Disable", "ScheduledJob", SupportsShouldProcess=true, DefaultParameterSetName="Definition", HelpUri="https://go.microsoft.com/fwlink/?LinkID=223927") */
/** @attribute OutputTypeAttribute(System.Compiler.TypeNode[]) */
public final class DisableScheduledJobCommand extends DisableScheduledJobDefinitionBase
CmdletAttribute("Disable", "ScheduledJob", SupportsShouldProcess=true, DefaultParameterSetName="Definition", HelpUri="https://go.microsoft.com/fwlink/?LinkID=223927")
OutputTypeAttribute(System.Compiler.TypeNode[])
public final class DisableScheduledJobCommand extends DisableScheduledJobDefinitionBase
Inheritance Hierarchy
System.Object
System.Management.Automation.Internal.InternalCommand
System.Management.Automation.Cmdlet
System.Management.Automation.PSCmdlet
Microsoft.PowerShell.ScheduledJob.ScheduleJobCmdletBase
Microsoft.PowerShell.ScheduledJob.DisableScheduledJobDefinitionBase
Microsoft.PowerShell.ScheduledJob.DisableScheduledJobCommand
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Target Platforms
See Also
Reference
DisableScheduledJobCommand Members
Microsoft.PowerShell.ScheduledJob Namespace