JobSchedule Constructor (SqlSmoObject, String)
Initializes a new instance of the JobSchedule class for the specified parent object and that has the specified name.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Agent
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub New ( _
parent As SqlSmoObject, _
name As String _
)
'Uso
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
)
Parámetros
- parent
Tipo: Microsoft.SqlServer.Management.Smo.SqlSmoObject
An SqlSmoObject object value that specifies the parent of the JobSchedule object.
- name
Tipo: System.String
A String value that specifies the name of the job schedule.
Ejemplos
Programar tareas administrativas automáticas en el Agente SQL Server
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo.Agent