Freigeben über


TeamFoundationJobSchedule Class

Represents a job schedule on Visual Studio Team Foundation Server.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Client.TeamFoundationJobSchedule

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Public NotInheritable Class TeamFoundationJobSchedule
public sealed class TeamFoundationJobSchedule
public ref class TeamFoundationJobSchedule sealed
[<Sealed>]
type TeamFoundationJobSchedule =  class end
public final class TeamFoundationJobSchedule

The TeamFoundationJobSchedule type exposes the following members.

Constructors

  Name Description
Public method TeamFoundationJobSchedule(DateTime) Initializes a new instance of the TeamFoundationJobSchedule class by using the specified schedule time.
Public method TeamFoundationJobSchedule(DateTime, Int32) Initializes a new instance of the TeamFoundationJobSchedule class by using the specified schedule time and interval.
Public method TeamFoundationJobSchedule(DateTime, Int32, TimeZoneInfo) Initializes a new instance of the TeamFoundationJobSchedule class by using the specified scheduled time, interval, and time zone.

Top

Properties

  Name Description
Public property Interval Gets or sets the time interval between job execution, in seconds.
Public property ScheduledTime Gets or sets the scheduled time used as a basis for calculating the next run time.
Public property TimeZone Gets or sets the time zone to use for daylight savings time adjustments of the Interval property.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Gets a user-readable string that states the properties of this instance. (Overrides Object.ToString().)

Top

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.

See Also

Reference

Microsoft.TeamFoundation.Framework.Client Namespace