Share via


ReplicationAgentSchedule.FrequencyType Property

Gets or sets the frequency for a scheduled activity.

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

Syntax

'Declaration
Public Property FrequencyType As ScheduleFrequencyType 
    Get 
    Set
'Usage
Dim instance As ReplicationAgentSchedule 
Dim value As ScheduleFrequencyType 

value = instance.FrequencyType

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

Property Value

Type: Microsoft.SqlServer.Replication.ScheduleFrequencyType
A ScheduleFrequencyType value.

Remarks

An example of this is to schedule an activity to occur every 15 minutes. Set FrequencyType to Daily, FrequencySubDay to Minute, and FrequencySubDayInterval to 15.

The FrequencySubDayInterval property is only evaluated when the FrequencySubDay property is set to Hour or Minute.

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