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.
Hierarquia de herança
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 (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 | |
---|---|---|
Name | Gets or sets the name of the object. (Herdado de RegSvrSmoObject.) | |
Properties | Gets the properties associated with the object. (Herdado 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. (Herdado de SmoObjectBase.) | |
Urn | Gets the Urn object that represents the object. (Herdado de RegSvrSmoObject.) | |
UrnSkeleton | Gets the Urn object that represents the object. (Herdado de RegSvrSmoObject.) | |
UserData | Gets or sets user-defined data associated with the referenced object. (Herdado de SmoObjectBase.) |
Início
Métodos
Nome | Descrição | |
---|---|---|
Alter | Updates any ServerGroupBase object property changes on the instance of Microsoft SQL Server. | |
CheckObjectState | Checks the state of the object. (Herdado 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 | (Herdado de Object.) | |
Finalize | (Herdado de Object.) | |
GetHashCode | (Herdado de Object.) | |
GetSmoObject | Gets a RegSvrSmoObject that is specified by a URN. | |
GetType | (Herdado de Object.) | |
ImplInitialize | Initializes the object. (Herdado de RegSvrSmoObject.) | |
Initialize | Initializes the object. (Herdado de RegSvrSmoObject.) | |
IsObjectInitialized | Gets a Boolean value that specifies whether the object was initialized. (Herdado de RegSvrSmoObject.) | |
MemberwiseClone | (Herdado de Object.) | |
Refresh | Refreshes the properties of the object. (Herdado de RegSvrSmoObject.) | |
SetParentImpl | Sets a parent. (Herdado de RegSvrSmoObject.) | |
ToString | (Herdado de Object.) | |
UpdateObjectState | Gets the updated object state. (Herdado de RegSvrSmoObject.) | |
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.
Consulte também