JobSchedule.Parent Propiedad
Gets or sets the Job object that is the parent of the JobSchedule object.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Agent
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
<SfcParentAttribute("Job")> _
Public Property Parent As SqlSmoObject
Get
Set
'Uso
Dim instance As JobSchedule
Dim value As SqlSmoObject
value = instance.Parent
instance.Parent = value
[SfcObjectAttribute(SfcObjectRelationship.ParentObject)]
[SfcParentAttribute("Job")]
public SqlSmoObject Parent { get; set; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject)]
[SfcParentAttribute(L"Job")]
public:
property SqlSmoObject^ Parent {
SqlSmoObject^ get ();
void set (SqlSmoObject^ value);
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>]
[<SfcParentAttribute("Job")>]
member Parent : SqlSmoObject with get, set
function get Parent () : SqlSmoObject
function set Parent (value : SqlSmoObject)
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo.SqlSmoObject
A Job object value that is the parent of the JobSchedule object.
Ejemplos
Programar tareas administrativas automáticas en el Agente SQL Server
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo.Agent