Partager via


Constructeur JobSchedule (SqlSmoObject, String)

Initializes a new instance of the JobSchedule class for the specified parent object and that has the specified name.

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

Syntaxe

'Déclaration
Public Sub New ( _
    parent As SqlSmoObject, _
    name As String _
)
'Utilisation
Dim parent As SqlSmoObject 
Dim name As String 

Dim instance As New JobSchedule(parent, _
    name)
public JobSchedule(
    SqlSmoObject parent,
    string name
)
public:
JobSchedule(
    SqlSmoObject^ parent, 
    String^ name
)
new : 
        parent:SqlSmoObject * 
        name:string -> JobSchedule
public function JobSchedule(
    parent : SqlSmoObject, 
    name : String
)

Paramètres

Exemples

Planification des tâches administratives automatiques dans l'Agent SQL Server

Voir aussi

Référence

JobSchedule Classe

Surcharge JobSchedule

Espace de noms Microsoft.SqlServer.Management.Smo.Agent

Autres ressources

Tâches d'administration automatisée (Agent SQL Server)

sp_add_schedule (Transact-SQL)