Compartir a través de


JobSchedule.FrequencySubDayTypes Propiedad

Gets or sets the unit of time used to specify the interval between scheduled jobs that run during the day.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo.Agent
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property FrequencySubDayTypes As FrequencySubDayTypes 
    Get 
    Set
'Uso
Dim instance As JobSchedule 
Dim value As FrequencySubDayTypes 

value = instance.FrequencySubDayTypes

instance.FrequencySubDayTypes = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public FrequencySubDayTypes FrequencySubDayTypes { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property FrequencySubDayTypes FrequencySubDayTypes {
    FrequencySubDayTypes get ();
    void set (FrequencySubDayTypes value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member FrequencySubDayTypes : FrequencySubDayTypes with get, set
function get FrequencySubDayTypes () : FrequencySubDayTypes 
function set FrequencySubDayTypes (value : FrequencySubDayTypes)

Valor de la propiedad

Tipo: Microsoft.SqlServer.Management.Smo.Agent.FrequencySubDayTypes
A FrequencySubDayTypes object value that specifies the unit of time used to specify the interval between scheduled jobs that run during the day.

Comentarios

The FrequencySubDayInterval has meaning only when the FrequencyTypes property of the JobSchedule object is set to FrequencyType.Daily and the FrequencySubDayTypes property is set to FrequencySubDayType.Hour or FrequencySubDayType.Minute.

For example, to schedule an activity for daily occurrence, every 15 minutes, set FrequencyTypes to FrequencyType.Daily, set FrequencySubDayTypes to FrequencySubDayType.Minute, and set FrequencySubDayInterval to 15.

Ejemplos

Programar tareas administrativas automáticas en el Agente SQL Server

Vea también

Referencia

JobSchedule Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo.Agent

Otros recursos

Tareas administrativas automatizadas (Agente SQL Server)

sp_add_schedule (Transact-SQL)