Compartir a través de


Operator.WeekdayPagerStartTime Propiedad

Gets or sets the earliest time of day at which the referenced operator is available to receive alert notification by pager on weekdays.

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 WeekdayPagerStartTime As TimeSpan 
    Get 
    Set
'Uso
Dim instance As [Operator]
Dim value As TimeSpan 

value = instance.WeekdayPagerStartTime

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

Valor de la propiedad

Tipo: System.TimeSpan
A TimeSpan object value that specifies the earliest time of day at which the operator can be sent alert notifications by pager.

Comentarios

Use the PagerDays property to set the days of the week for which pager notifications will be sent to the referenced operator. When the operator is available for pager notification on weekdays, use the WeekdayPagerStartTime and WeekdayPagerEndTime properties to set hours of availability.

When the end page time is less than the start page time for an operator, the interval is calculated so that paging occurs through 12:00 A.M.

Ejemplos

Programar tareas administrativas automáticas en el Agente SQL Server

Vea también

Referencia

Operator Clase

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

Otros recursos

Tareas administrativas automatizadas (Agente SQL Server)

sp_add_operator (Transact-SQL)