Partilhar via


Propriedade FrequencyType

Gets or sets the frequency for a scheduled activity.

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

Sintaxe

'Declaração
Public Property FrequencyType As ScheduleFrequencyType
    Get
    Set
'Uso
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)

Comentários

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.