共用方式為


ReplicationAgentSchedule.FrequencyType 屬性

Gets or sets the frequency for a scheduled activity.

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

語法

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

屬性值

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

備註

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.

請參閱

參考

ReplicationAgentSchedule 類別

Microsoft.SqlServer.Replication 命名空間