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.
Hiérarchie d'héritage
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
Espace de noms : Microsoft.SqlServer.Management.Smo.RegisteredServers
Assembly : Microsoft.SqlServer.SmoExtended (en Microsoft.SqlServer.SmoExtended.dll)
Syntaxe
'Déclaration
Public Class ServerGroupBase _
Inherits RegSvrSmoObject _
Implements ICreatable, IAlterable, IDroppable
'Utilisation
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
Le type ServerGroupBase expose les membres suivants.
Propriétés
Nom | Description | |
---|---|---|
Name | Gets or sets the name of the object. (hérité de RegSvrSmoObject.) | |
Properties | Gets the properties associated with the object. (hérité 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. (hérité de SmoObjectBase.) | |
Urn | Gets the Urn object that represents the object. (hérité de RegSvrSmoObject.) | |
UrnSkeleton | Gets the Urn object that represents the object. (hérité de RegSvrSmoObject.) | |
UserData | Gets or sets user-defined data associated with the referenced object. (hérité de SmoObjectBase.) |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Alter | Updates any ServerGroupBase object property changes on the instance of Microsoft SQL Server. | |
CheckObjectState | Checks the state of the object. (hérité 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 | (hérité de Object.) | |
Finalize | (hérité de Object.) | |
GetHashCode | (hérité de Object.) | |
GetSmoObject | Gets a RegSvrSmoObject that is specified by a URN. | |
GetType | (hérité de Object.) | |
ImplInitialize | Initializes the object. (hérité de RegSvrSmoObject.) | |
Initialize | Initializes the object. (hérité de RegSvrSmoObject.) | |
IsObjectInitialized | Gets a Boolean value that specifies whether the object was initialized. (hérité de RegSvrSmoObject.) | |
MemberwiseClone | (hérité de Object.) | |
Refresh | Refreshes the properties of the object. (hérité de RegSvrSmoObject.) | |
SetParentImpl | Sets a parent. (hérité de RegSvrSmoObject.) | |
ToString | (hérité de Object.) | |
UpdateObjectState | Gets the updated object state. (hérité de RegSvrSmoObject.) | |
Validate | Validates the state of an object. (hérité de SmoObjectBase.) |
Haut de la page
Notes
Thread Safety
Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
Voir aussi