Delen via


ReplicationAgentSchedule.FrequencyRelativeInterval Property

Gets or sets a time of occurrence that is relative to the first day of the month.

Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

Syntax

'Declaration
Public Property FrequencyRelativeInterval As ScheduleRelativeIntervals
public ScheduleRelativeIntervals FrequencyRelativeInterval { get; set; }
public:
property ScheduleRelativeIntervals FrequencyRelativeInterval {
    ScheduleRelativeIntervals get ();
    void set (ScheduleRelativeIntervals value);
}
/** @property */
public ScheduleRelativeIntervals get_FrequencyRelativeInterval ()

/** @property */
public void set_FrequencyRelativeInterval (ScheduleRelativeIntervals value)
public function get FrequencyRelativeInterval () : ScheduleRelativeIntervals

public function set FrequencyRelativeInterval (value : ScheduleRelativeIntervals)

Property Value

A ScheduleRelativeIntervals value.

Remarks

Values are combined by using the bitwise logical OR ( | ) operator to set a combination of relative intervals.

If FrequencyType is set to MonthlyRelative, the FrequencyRelativeInterval property specifies the time of occurrence relative to the first day of the month, and the FrequencyInterval property specifies the day within that interval. For example, if FrequencyRelativeInterval is set to Second and FrequencyInterval is set to Friday, the scheduled activity occurs on the second Friday of every month.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

ReplicationAgentSchedule Class
ReplicationAgentSchedule Members
Microsoft.SqlServer.Replication Namespace