NewJobTriggerCommand.At Property
Gets or sets the job start date and time for the trigger. This property represents the At 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 NewJobTriggerCommand
Dim value As DateTime
value = instance.At
instance.At = value
Syntax
'Declaration
<ParameterAttribute(Mandatory:=True, ParameterSetName:="Weekly")> _
<ParameterAttribute(Mandatory:=True, ParameterSetName:="Daily")> _
<ParameterAttribute(Mandatory:=True, ParameterSetName:="Once")> _
Public Property At As DateTime
[ParameterAttribute(Mandatory=true, ParameterSetName="Weekly")]
[ParameterAttribute(Mandatory=true, ParameterSetName="Daily")]
[ParameterAttribute(Mandatory=true, ParameterSetName="Once")]
public DateTime At { get; set; }
[ParameterAttribute(Mandatory=true, ParameterSetName=L"Weekly")]
[ParameterAttribute(Mandatory=true, ParameterSetName=L"Daily")]
[ParameterAttribute(Mandatory=true, ParameterSetName=L"Once")]
public:
property DateTime At {
DateTime get ();
void set (DateTime value);
}
/** @property */
public DateTime get_At ()
/** @property */
public void set_At (DateTime value)
public function get At () : DateTime
public function set At (value : DateTime)
Property Value
Returns DateTime.
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
NewJobTriggerCommand Class
NewJobTriggerCommand Members
Microsoft.PowerShell.ScheduledJob Namespace