Share 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.

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

Sintaxe

'Declaração
Public Class ServerGroupBase _
    Inherits RegSvrSmoObject _
    Implements ICreatable, IAlterable, IDroppable
'Uso
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

O tipo ServerGroupBase expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública Name Gets or sets the name of the object. (Herdado de RegSvrSmoObject.)
Propriedade pública Properties Gets the properties associated with the object. (Herdado de RegSvrSmoObject.)
Propriedade pública RegisteredServers Represents a collection of RegisteredServer objects. Each RegisteredServer object represents a registered server that is included in the parent server group.
Propriedade pública ServerGroups Represents a collection of ServerGroup objects. Each ServerGroup object represents a server group that is included in the parent server group.
Propriedade pública State Gets the state of the referenced object. (Herdado de SmoObjectBase.)
Propriedade pública Urn Gets the Urn object that represents the object. (Herdado de RegSvrSmoObject.)
Propriedade protegida UrnSkeleton Gets the Urn object that represents the object. (Herdado de RegSvrSmoObject.)
Propriedade pública UserData Gets or sets user-defined data associated with the referenced object. (Herdado de SmoObjectBase.)

Início

Métodos

  Nome Descrição
Método público Alter Updates any ServerGroupBase object property changes on the instance of Microsoft SQL Server.
Método protegido CheckObjectState Checks the state of the object. (Herdado de RegSvrSmoObject.)
Método protegido ClearCollections Clears the server group collections.
Método público Create Creates a server group on the instance of Microsoft SQL Server as defined by the ServerGroupBase object.
Método público Drop Removes the ServerGroupBase from the parent server group.
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método público GetHashCode (Herdado de Object.)
Método público GetSmoObject Gets a RegSvrSmoObject that is specified by a URN.
Método público GetType (Herdado de Object.)
Método protegido ImplInitialize Initializes the object. (Herdado de RegSvrSmoObject.)
Método público Initialize Initializes the object. (Herdado de RegSvrSmoObject.)
Método protegido IsObjectInitialized Gets a Boolean value that specifies whether the object was initialized. (Herdado de RegSvrSmoObject.)
Método protegido MemberwiseClone (Herdado de Object.)
Método público Refresh Refreshes the properties of the object. (Herdado de RegSvrSmoObject.)
Método protegido SetParentImpl Sets a parent. (Herdado de RegSvrSmoObject.)
Método público ToString (Herdado de Object.)
Método protegido UpdateObjectState Gets the updated object state. (Herdado de RegSvrSmoObject.)
Método público Validate Validates the state of an object. (Herdado de SmoObjectBase.)

Início

Comentários

Thread Safety

Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.