ServerGroupBase Class
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.
Inheritance Hierarchy
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 (in Microsoft.SqlServer.SmoExtended.dll)
Syntax
'Declaration
Public Class ServerGroupBase _
Inherits RegSvrSmoObject _
Implements ICreatable, IAlterable, IDroppable
'Usage
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
The ServerGroupBase type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
Name | Gets or sets the name of the object. (Inherited from RegSvrSmoObject.) |
![]() |
Properties | Gets the properties associated with the object. (Inherited from 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. (Inherited from SmoObjectBase.) |
![]() |
Urn | Gets the Urn object that represents the object. (Inherited from RegSvrSmoObject.) |
![]() |
UrnSkeleton | Gets the Urn object that represents the object. (Inherited from RegSvrSmoObject.) |
![]() |
UserData | Gets or sets user-defined data associated with the referenced object. (Inherited from SmoObjectBase.) |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Alter | Updates any ServerGroupBase object property changes on the instance of Microsoft SQL Server. |
![]() |
CheckObjectState | Checks the state of the object. (Inherited from 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 | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetSmoObject | Gets a RegSvrSmoObject that is specified by a URN. |
![]() |
GetType | (Inherited from Object.) |
![]() |
ImplInitialize | Initializes the object. (Inherited from RegSvrSmoObject.) |
![]() |
Initialize | Initializes the object. (Inherited from RegSvrSmoObject.) |
![]() |
IsObjectInitialized | Gets a Boolean value that specifies whether the object was initialized. (Inherited from RegSvrSmoObject.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
Refresh | Refreshes the properties of the object. (Inherited from RegSvrSmoObject.) |
![]() |
SetParentImpl | Sets a parent. (Inherited from RegSvrSmoObject.) |
![]() |
ToString | (Inherited from Object.) |
![]() |
UpdateObjectState | Gets the updated object state. (Inherited from RegSvrSmoObject.) |
![]() |
Validate | Validates the state of an object. (Inherited from SmoObjectBase.) |
Top
Remarks
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also