Partager via


Classe ServerGroupBase

The ServerGroupBase class is a base class that is used in the construction of the ServerGroup class, which represents a group of Microsoft SQL Server registered servers.

Espace de noms :  Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly :  Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)

Syntaxe

'Déclaration
Public Class ServerGroupBase _
    Inherits RegSvrSmoObject _
    Implements ICreatable, IAlterable, IDroppable
'Utilisation
Dim instance As ServerGroupBase
public class ServerGroupBase : RegSvrSmoObject, 
    ICreatable, IAlterable, IDroppable
public ref class ServerGroupBase : public RegSvrSmoObject, 
    ICreatable, IAlterable, IDroppable
type ServerGroupBase =  
    class
        inherit RegSvrSmoObject
        interface ICreatable
        interface IAlterable
        interface IDroppable
    end
public class ServerGroupBase extends RegSvrSmoObject implements ICreatable, IAlterable, IDroppable

Le type ServerGroupBase expose les membres suivants.

Propriétés

  Nom Description
Propriété publique Name Gets or sets the name of the object. (hérité de RegSvrSmoObject.)
Propriété publique Properties Gets the properties associated with the object. (hérité de RegSvrSmoObject.)
Propriété publique RegisteredServers Represents a collection of RegisteredServer objects. Each RegisteredServer object represents a registered server that is included in the parent server group.
Propriété publique ServerGroups Represents a collection of ServerGroup objects. Each ServerGroup object represents a server group that is included in the parent server group.
Propriété publique State Gets the state of the referenced object. (hérité de SmoObjectBase.)
Propriété publique Urn Gets the Urn object that represents the object. (hérité de RegSvrSmoObject.)
Propriété protégée UrnSkeleton Gets the Urn object that represents the object. (hérité de RegSvrSmoObject.)
Propriété publique UserData Gets or sets user-defined data associated with the referenced object. (hérité de SmoObjectBase.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Alter Updates any ServerGroupBase object property changes on the instance of Microsoft SQL Server.
Méthode protégée CheckObjectState Checks the state of the object. (hérité de RegSvrSmoObject.)
Méthode protégée ClearCollections Clears the server group collections.
Méthode publique Create Creates a server group on the instance of Microsoft SQL Server as defined by the ServerGroupBase object.
Méthode publique Drop Removes the ServerGroupBase from the parent server group.
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetSmoObject Gets a RegSvrSmoObject that is specified by a URN.
Méthode publique GetType (hérité de Object.)
Méthode protégée ImplInitialize Initializes the object. (hérité de RegSvrSmoObject.)
Méthode publique Initialize Initializes the object. (hérité de RegSvrSmoObject.)
Méthode protégée IsObjectInitialized Gets a Boolean value that specifies whether the object was initialized. (hérité de RegSvrSmoObject.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique Refresh Refreshes the properties of the object. (hérité de RegSvrSmoObject.)
Méthode protégée SetParentImpl Sets a parent. (hérité de RegSvrSmoObject.)
Méthode publique ToString (hérité de Object.)
Méthode protégée UpdateObjectState Gets the updated object state. (hérité de RegSvrSmoObject.)
Méthode publique Validate Validates the state of an object. (hérité de SmoObjectBase.)

Haut de la page

Notes

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 étant thread-safe.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.