Condividi tramite


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.

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

Sintassi

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

Nel tipo ServerGroupBase sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblica Name Gets or sets the name of the object. Ereditato da RegSvrSmoObject.
Proprietà pubblica Properties Gets the properties associated with the object. Ereditato da RegSvrSmoObject.
Proprietà pubblica RegisteredServers Represents a collection of RegisteredServer objects. Each RegisteredServer object represents a registered server that is included in the parent server group.
Proprietà pubblica ServerGroups Represents a collection of ServerGroup objects. Each ServerGroup object represents a server group that is included in the parent server group.
Proprietà pubblica State Gets the state of the referenced object. Ereditato da SmoObjectBase.
Proprietà pubblica Urn Gets the Urn object that represents the object. Ereditato da RegSvrSmoObject.
Proprietà protetta UrnSkeleton Gets the Urn object that represents the object. Ereditato da RegSvrSmoObject.
Proprietà pubblica UserData Gets or sets user-defined data associated with the referenced object. Ereditato da SmoObjectBase.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Alter Updates any ServerGroupBase object property changes on the instance of Microsoft SQL Server.
Metodo protetto CheckObjectState Checks the state of the object. Ereditato da RegSvrSmoObject.
Metodo protetto ClearCollections Clears the server group collections.
Metodo pubblico Create Creates a server group on the instance of Microsoft SQL Server as defined by the ServerGroupBase object.
Metodo pubblico Drop Removes the ServerGroupBase from the parent server group.
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetSmoObject Gets a RegSvrSmoObject that is specified by a URN.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto ImplInitialize Initializes the object. Ereditato da RegSvrSmoObject.
Metodo pubblico Initialize Initializes the object. Ereditato da RegSvrSmoObject.
Metodo protetto IsObjectInitialized Gets a Boolean value that specifies whether the object was initialized. Ereditato da RegSvrSmoObject.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico Refresh Refreshes the properties of the object. Ereditato da RegSvrSmoObject.
Metodo protetto SetParentImpl Sets a parent. Ereditato da RegSvrSmoObject.
Metodo pubblico ToString Ereditato da Object.
Metodo protetto UpdateObjectState Gets the updated object state. Ereditato da RegSvrSmoObject.
Metodo pubblico Validate Validates the state of an object. Ereditato da SmoObjectBase.

In alto

Osservazioni

Thread Safety

Tutti i membri statici pubblici (Shared in Microsoft Visual Basic) di questo tipo sono sicuri per le operazioni a thread multipli. Non è invece garantita la sicurezza dei membri dell'istanza.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Management.Smo.RegisteredServers

Altre risorse

Gestione dei server registrati