Propriété JobServer.TargetServerGroups
Represents a collection of TargetServerGroup objects. Each TargetServerGroup object represents a target server group defined on SQL Server Agent.
Espace de noms : Microsoft.SqlServer.Management.Smo.Agent
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, _
GetType(TargetServerGroup))> _
Public ReadOnly Property TargetServerGroups As TargetServerGroupCollection
Get
'Utilisation
Dim instance As JobServer
Dim value As TargetServerGroupCollection
value = instance.TargetServerGroups
[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(TargetServerGroup))]
public TargetServerGroupCollection TargetServerGroups { get; }
[SfcObjectAttribute(SfcContainerRelationship::ObjectContainer, SfcContainerCardinality::ZeroToAny,
typeof(TargetServerGroup))]
public:
property TargetServerGroupCollection^ TargetServerGroups {
TargetServerGroupCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny,
typeof(TargetServerGroup))>]
member TargetServerGroups : TargetServerGroupCollection
function get TargetServerGroups () : TargetServerGroupCollection
Valeur de propriété
Type : Microsoft.SqlServer.Management.Smo.Agent.TargetServerGroupCollection
A TargetServerGroupCollection that represents the target server groups defined on SQL Server Agent.
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