Partager via


FrequencyRelativeInterval propriété

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

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Rmo (dans Microsoft.SqlServer.Rmo.dll)

Syntaxe

'Déclaration
Public Property FrequencyRelativeInterval As ScheduleRelativeIntervals
    Get
    Set
'Utilisation
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)

Notes

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.