AddSharedSchedule méthode

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

Espace de noms :  Microsoft.SqlServer.Management.Smo.Agent
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub AddSharedSchedule ( _
    scheduleId As Integer _
)
'Utilisation
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
)

Paramètres

Notes

This method was introduced in SQL Server 2005.