Share 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 
    Get 
    Set
'Usage
Dim instance As ReplicationAgentSchedule 
Dim value As ScheduleRelativeIntervals 

value = instance.FrequencyRelativeInterval

instance.FrequencyRelativeInterval = value
public ScheduleRelativeIntervals FrequencyRelativeInterval { get; set; }
public:
property ScheduleRelativeIntervals FrequencyRelativeInterval {
    ScheduleRelativeIntervals get ();
    void set (ScheduleRelativeIntervals value);
}
member FrequencyRelativeInterval : ScheduleRelativeIntervals with get, set
function get FrequencyRelativeInterval () : ScheduleRelativeIntervals 
function set FrequencyRelativeInterval (value : ScheduleRelativeIntervals)

Property Value

Type: Microsoft.SqlServer.Replication.ScheduleRelativeIntervals
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.

See Also

Reference

ReplicationAgentSchedule Class

Microsoft.SqlServer.Replication Namespace