forked from PowerShell/PowerShell
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDisableJobTrigger.cs
More file actions
36 lines (32 loc) · 1.23 KB
/
Copy pathDisableJobTrigger.cs
File metadata and controls
36 lines (32 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/********************************************************************++
Copyright (c) Microsoft Corporation. All rights reserved.
--********************************************************************/
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics.CodeAnalysis;
using System.Management.Automation;
using System.Management.Automation.Internal;
using System.Management.Automation.Host;
using System.Threading;
using System.Diagnostics;
namespace Microsoft.PowerShell.ScheduledJob
{
/// <summary>
/// This cmdlet enables triggers on a ScheduledJobDefinition object.
/// </summary>
[Cmdlet(VerbsLifecycle.Disable, "JobTrigger", SupportsShouldProcess = true, DefaultParameterSetName = DisableJobTriggerCommand.EnabledParameterSet,
HelpUri = "http://go.microsoft.com/fwlink/?LinkID=223918")]
public sealed class DisableJobTriggerCommand : EnableDisableScheduledJobCmdletBase
{
#region Enabled Implementation
/// <summary>
/// Property to determine if trigger should be enabled or disabled.
/// </summary>
internal override bool Enabled
{
get { return false; }
}
#endregion
}
}