Clase 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.
Jerarquía de herencia
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
Espacio de nombres: Microsoft.SqlServer.Management.Smo.RegisteredServers
Ensamblado: Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)
Sintaxis
'Declaración
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
El tipo ServerGroupBase expone los siguientes miembros.
Propiedades
Nombre | Descripción | |
---|---|---|
Name | Gets or sets the name of the object. (Se hereda de RegSvrSmoObject.) | |
Properties | Gets the properties associated with the object. (Se hereda de RegSvrSmoObject.) | |
RegisteredServers | Represents a collection of RegisteredServer objects. Each RegisteredServer object represents a registered server that is included in the parent server group. | |
ServerGroups | Represents a collection of ServerGroup objects. Each ServerGroup object represents a server group that is included in the parent server group. | |
State | Gets the state of the referenced object. (Se hereda de SmoObjectBase.) | |
Urn | Gets the Urn object that represents the object. (Se hereda de RegSvrSmoObject.) | |
UrnSkeleton | Gets the Urn object that represents the object. (Se hereda de RegSvrSmoObject.) | |
UserData | Gets or sets user-defined data associated with the referenced object. (Se hereda de SmoObjectBase.) |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
Alter | Updates any ServerGroupBase object property changes on the instance of Microsoft SQL Server. | |
CheckObjectState | Checks the state of the object. (Se hereda de RegSvrSmoObject.) | |
ClearCollections | Clears the server group collections. | |
Create | Creates a server group on the instance of Microsoft SQL Server as defined by the ServerGroupBase object. | |
Drop | Removes the ServerGroupBase from the parent server group. | |
Equals | (Se hereda de Object.) | |
Finalize | (Se hereda de Object.) | |
GetHashCode | (Se hereda de Object.) | |
GetSmoObject | Gets a RegSvrSmoObject that is specified by a URN. | |
GetType | (Se hereda de Object.) | |
ImplInitialize | Initializes the object. (Se hereda de RegSvrSmoObject.) | |
Initialize | Initializes the object. (Se hereda de RegSvrSmoObject.) | |
IsObjectInitialized | Gets a Boolean value that specifies whether the object was initialized. (Se hereda de RegSvrSmoObject.) | |
MemberwiseClone | (Se hereda de Object.) | |
Refresh | Refreshes the properties of the object. (Se hereda de RegSvrSmoObject.) | |
SetParentImpl | Sets a parent. (Se hereda de RegSvrSmoObject.) | |
ToString | (Se hereda de Object.) | |
UpdateObjectState | Gets the updated object state. (Se hereda de RegSvrSmoObject.) | |
Validate | Validates the state of an object. (Se hereda de SmoObjectBase.) |
Arriba
Comentarios
Thread Safety
Todos los miembros estáticos (compartidos en Microsoft Visual Basic) públicos de este tipo son seguros para operaciones multiproceso. No se garantiza que los miembros de instancia sean seguros para subprocesos.
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.
Vea también