共用方式為


ReplicationAgentSchedule.FrequencyRelativeInterval 屬性

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

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public Property FrequencyRelativeInterval As ScheduleRelativeIntervals 
    Get 
    Set
'用途
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)

屬性值

型別:Microsoft.SqlServer.Replication.ScheduleRelativeIntervals
A ScheduleRelativeIntervals value.

備註

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.

請參閱

參考

ReplicationAgentSchedule 類別

Microsoft.SqlServer.Replication 命名空間