Freigeben über


ServerGroupBase-Klasse

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.

Vererbungshierarchie

System.Object
  Microsoft.SqlServer.Management.Smo.SmoObjectBase
    Microsoft.SqlServer.Management.Smo.RegisteredServers.RegSvrSmoObject
      Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroupBase
        Microsoft.SqlServer.Management.Smo.RegisteredServers.ServerGroup

Namespace:  Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

Syntax

'Declaration
Public Class ServerGroupBase _
    Inherits RegSvrSmoObject _
    Implements ICreatable, IAlterable, IDroppable
'Usage
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

Der ServerGroupBase-Typ macht folgende Elemente verfügbar.

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Name Gets or sets the name of the object. (Geerbt von RegSvrSmoObject.)
Öffentliche Eigenschaft Properties Gets the properties associated with the object. (Geerbt von RegSvrSmoObject.)
Öffentliche Eigenschaft RegisteredServers Represents a collection of RegisteredServer objects. Each RegisteredServer object represents a registered server that is included in the parent server group.
Öffentliche Eigenschaft ServerGroups Represents a collection of ServerGroup objects. Each ServerGroup object represents a server group that is included in the parent server group.
Öffentliche Eigenschaft State Gets the state of the referenced object. (Geerbt von SmoObjectBase.)
Öffentliche Eigenschaft Urn Gets the Urn object that represents the object. (Geerbt von RegSvrSmoObject.)
Geschützte Eigenschaft UrnSkeleton Gets the Urn object that represents the object. (Geerbt von RegSvrSmoObject.)
Öffentliche Eigenschaft UserData Gets or sets user-defined data associated with the referenced object. (Geerbt von SmoObjectBase.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Alter Updates any ServerGroupBase object property changes on the instance of Microsoft SQL Server.
Geschützte Methode CheckObjectState Checks the state of the object. (Geerbt von RegSvrSmoObject.)
Geschützte Methode ClearCollections Clears the server group collections.
Öffentliche Methode Create Creates a server group on the instance of Microsoft SQL Server as defined by the ServerGroupBase object.
Öffentliche Methode Drop Removes the ServerGroupBase from the parent server group.
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetSmoObject Gets a RegSvrSmoObject that is specified by a URN.
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode ImplInitialize Initializes the object. (Geerbt von RegSvrSmoObject.)
Öffentliche Methode Initialize Initializes the object. (Geerbt von RegSvrSmoObject.)
Geschützte Methode IsObjectInitialized Gets a Boolean value that specifies whether the object was initialized. (Geerbt von RegSvrSmoObject.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode Refresh Refreshes the properties of the object. (Geerbt von RegSvrSmoObject.)
Geschützte Methode SetParentImpl Sets a parent. (Geerbt von RegSvrSmoObject.)
Öffentliche Methode ToString (Geerbt von Object.)
Geschützte Methode UpdateObjectState Gets the updated object state. (Geerbt von RegSvrSmoObject.)
Öffentliche Methode Validate Validates the state of an object. (Geerbt von SmoObjectBase.)

Zum Anfang

Hinweise

Thread Safety

Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.Smo.RegisteredServers-Namespace

Andere Ressourcen

Verwalten registrierter Server