Méthode TargetServerGroup.EnumMemberServers
Enumerates a list of target servers that are members of the referenced target server group.
Espace de noms : Microsoft.SqlServer.Management.Smo.Agent
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Function EnumMemberServers As TargetServer()
'Utilisation
Dim instance As TargetServerGroup
Dim returnValue As TargetServer()
returnValue = instance.EnumMemberServers()
public TargetServer[] EnumMemberServers()
public:
array<TargetServer^>^ EnumMemberServers()
member EnumMemberServers : unit -> TargetServer[]
public function EnumMemberServers() : TargetServer[]
Valeur de retour
Type : array<Microsoft.SqlServer.Management.Smo.Agent.TargetServer[]
An array of TargetServer objects that are members of the referenced target server group.
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