SetJobTriggerCommand.WeeksInterval Property
Gets or sets the number of weeks between automatic activations of a trigger. This property represents the WeeksInterval cmdlet parameter. 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 SetJobTriggerCommand
Dim value As Integer
value = instance.WeeksInterval
instance.WeeksInterval = value
Syntax
'Declaration
<ParameterAttribute(ParameterSetName:="DefaultParams")> _
Public Property WeeksInterval As Integer
[ParameterAttribute(ParameterSetName="DefaultParams")]
public int WeeksInterval { get; set; }
[ParameterAttribute(ParameterSetName=L"DefaultParams")]
public:
property int WeeksInterval {
int get ();
void set (int value);
}
/** @property */
public int get_WeeksInterval ()
/** @property */
public void set_WeeksInterval (int value)
public function get WeeksInterval () : int
public function set WeeksInterval (value : int)
Property Value
Returns Int32.
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
SetJobTriggerCommand Class
SetJobTriggerCommand Members
Microsoft.PowerShell.ScheduledJob Namespace