Classe TargetServerGroup
The TargetServerGroup object that represent a target server group defined for multi-server administration on SQL Server Agent.
Espace de noms : Microsoft.SqlServer.Management.Smo.Agent
Assembly : Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public NotInheritable Class TargetServerGroup _
Inherits AgentObjectBase _
Implements ICreatable, IDroppable, IRenamable
'Utilisation
Dim instance As TargetServerGroup
public sealed class TargetServerGroup : AgentObjectBase,
ICreatable, IDroppable, IRenamable
public ref class TargetServerGroup sealed : public AgentObjectBase,
ICreatable, IDroppable, IRenamable
[<SealedAttribute>]
type TargetServerGroup =
class
inherit AgentObjectBase
interface ICreatable
interface IDroppable
interface IRenamable
end
public final class TargetServerGroup extends AgentObjectBase implements ICreatable, IDroppable, IRenamable
Notes
To get or set TargetServerGroup object properties, users must be a member of the sysadmin fixed server role.
To create or drop a target server group, users must be a member of the sysadmin fixed server role.
To add or remove members, users must be a member of the sysadmin fixed server role.
To run methods on the TargetServerGroup object, users must be a member of the sysadmin fixed server role.
Thread Safety
Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme sûrs.
Hiérarchie d'héritage
System. . :: . .Object
Microsoft.SqlServer.Management.Smo. . :: . .SmoObjectBase
Microsoft.SqlServer.Management.Smo. . :: . .SqlSmoObject
Microsoft.SqlServer.Management.Smo. . :: . .NamedSmoObject
Microsoft.SqlServer.Management.Smo.Agent. . :: . .AgentObjectBase
Microsoft.SqlServer.Management.Smo.Agent..::..TargetServerGroup
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.