Propriété TargetServerGroup.Parent
Gets the JobServer object that is the parent of the TargetServerGroup object.
Espace de noms : Microsoft.SqlServer.Management.Smo.Agent
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As JobServer
Get
Set
'Utilisation
Dim instance As TargetServerGroup
Dim value As JobServer
value = instance.Parent
instance.Parent = value
[SfcObjectAttribute(SfcObjectRelationship.ParentObject)]
public JobServer Parent { get; set; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject)]
public:
property JobServer^ Parent {
JobServer^ get ();
void set (JobServer^ value);
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>]
member Parent : JobServer with get, set
function get Parent () : JobServer
function set Parent (value : JobServer)
Valeur de propriété
Type : Microsoft.SqlServer.Management.Smo.Agent.JobServer
A JobServer object value that is the parent of the TargetServerGroup object.
Exemples
Planification des tâches administratives automatiques dans l'Agent SQL Server
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo.Agent