TeamFoundationJobSchedule Constructor (DateTime, Int32, TimeZoneInfo)
Initializes a new instance of the TeamFoundationJobSchedule class by using the specified scheduled time, interval, and time zone.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public Sub New ( _
scheduledTime As DateTime, _
interval As Integer, _
timeZone As TimeZoneInfo _
)
public TeamFoundationJobSchedule(
DateTime scheduledTime,
int interval,
TimeZoneInfo timeZone
)
public:
TeamFoundationJobSchedule(
DateTime scheduledTime,
int interval,
TimeZoneInfo^ timeZone
)
new :
scheduledTime:DateTime *
interval:int *
timeZone:TimeZoneInfo -> TeamFoundationJobSchedule
public function TeamFoundationJobSchedule(
scheduledTime : DateTime,
interval : int,
timeZone : TimeZoneInfo
)
Parameters
scheduledTime
Type: System.DateTimeThe scheduled time used as a basis for calculating the next run time.
interval
Type: System.Int32The time interval between jobs, in seconds.
timeZone
Type: System.TimeZoneInfoThe time zone to use for daylight savings time adjustments of the Interval property.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
TeamFoundationJobSchedule Class