Compartir a través de


AddSharedSchedule Método

Adds a shared schedule to the Microsoft SQL Server Agent job.

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

Sintaxis

'Declaración
Public Sub AddSharedSchedule ( _
    scheduleId As Integer _
)
'Uso
Dim instance As Job
Dim scheduleId As Integer

instance.AddSharedSchedule(scheduleId)
public void AddSharedSchedule(
    int scheduleId
)
public:
void AddSharedSchedule(
    int scheduleId
)
member AddSharedSchedule : 
        scheduleId:int -> unit 
public function AddSharedSchedule(
    scheduleId : int
)

Parámetros

Notas

This method was introduced in SQL Server 2005.