다음을 통해 공유


SPMonthlySchedule Class

Represents a monthly schedule for a job definition.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.SPSchedule
    Microsoft.SharePoint.SPDailySchedule
      Microsoft.SharePoint.SPMonthlySchedule
        Microsoft.SharePoint.SPYearlySchedule

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Class SPMonthlySchedule _
    Inherits SPDailySchedule
'Usage
Dim instance As SPMonthlySchedule
public class SPMonthlySchedule : SPDailySchedule

Remarks

The BeginDay and EndDay properties in this class specify a time window when a job should be started and have no effect on when the job finishes. The timer service will pick a random time between the begin and end and will start the job at that time. This feature is primarily used for resource-intensive jobs that run on multiple computers in the farm. The randomized start time ensures that they do not all start simultaneously, which could adversely affect server availability. To start the job at a precise time, the begin and end values for the schedule should be identical.

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

SPMonthlySchedule Members

Microsoft.SharePoint Namespace