Share via


ServerGroup Members

The ServerGroup object represents a group of Microsoft SQL Server registered servers.

The following tables list the members exposed by the ServerGroup type.

Public Constructors

  Name Description
ServerGroup Overloaded. Initializes a new instance of the ServerGroup object.

Top

Public Properties

(see also Protected Properties )

  Name Description
ms220136.pubproperty(en-US,SQL.90).gif Description Gets or sets the textual description of the referenced group of registered servers.
ms220136.pubproperty(en-US,SQL.90).gif Name  Gets or sets the name of the object. (inherited from RegSvrSmoObject)
ms220136.pubproperty(en-US,SQL.90).gif Parent Gets or sets the ServerGroup object that is the parent of the referenced ServerGroup object.
ms220136.pubproperty(en-US,SQL.90).gif Path Gets the path of the referenced server group.
ms220136.pubproperty(en-US,SQL.90).gif Properties  Gets the properties associated with the object. (inherited from RegSvrSmoObject)
ms220136.pubproperty(en-US,SQL.90).gif RegisteredServers  Represents a collection of RegisteredServer objects. Each RegisteredServer object represents a registered server that is included in the parent server group. (inherited from ServerGroupBase)
ms220136.pubproperty(en-US,SQL.90).gif ServerGroups  Represents a collection of ServerGroup objects. Each ServerGroup object represents a server group that is included in the parent server group. (inherited from ServerGroupBase)
ms220136.pubproperty(en-US,SQL.90).gif ServerType Gets the Guid object value that specifies the type of server associated with the server group.
ms220136.pubproperty(en-US,SQL.90).gif State  Gets the state of the referenced object. (inherited from SmoObjectBase)
ms220136.pubproperty(en-US,SQL.90).gif Urn Overridden. Gets the Urn object value that represents the server group.
ms220136.pubproperty(en-US,SQL.90).gif UserData  Gets or sets user-defined data associated with the referenced object. (inherited from SmoObjectBase)

Top

Protected Properties

  Name Description
ms220136.protproperty(en-US,SQL.90).gif UrnSkeleton  Gets the Urn object that represents the object. (inherited from RegSvrSmoObject)

Top

Public Methods

(see also Protected Methods )

  Name Description
ms220136.pubmethod(en-US,SQL.90).gif Alter  Updates any ServerGroupBase object property changes on the instance of Microsoft SQL Server. (inherited from ServerGroupBase)
ms220136.pubmethod(en-US,SQL.90).gif Create  Creates a server group on the instance of Microsoft SQL Server as defined by the ServerGroupBase object. (inherited from ServerGroupBase)
ms220136.pubmethod(en-US,SQL.90).gif Drop  Removes the ServerGroupBase from the parent server group. (inherited from ServerGroupBase)
ms220136.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms220136.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
ms220136.pubmethod(en-US,SQL.90).gif GetSmoObject  (inherited from ServerGroupBase )
ms220136.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms220136.pubmethod(en-US,SQL.90).gif Initialize  (inherited from RegSvrSmoObject )
ms220136.pubmethod(en-US,SQL.90).gifms220136.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms220136.pubmethod(en-US,SQL.90).gif Refresh  (inherited from RegSvrSmoObject )
ms220136.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
ms220136.protmethod(en-US,SQL.90).gif CheckObjectState  (inherited from RegSvrSmoObject )
ms220136.protmethod(en-US,SQL.90).gif ClearCollections  Clears the server group collections. (inherited from ServerGroupBase)
ms220136.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms220136.protmethod(en-US,SQL.90).gif ImplInitialize  (inherited from RegSvrSmoObject )
ms220136.protmethod(en-US,SQL.90).gif IsObjectInitialized  (inherited from RegSvrSmoObject )
ms220136.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )
ms220136.protmethod(en-US,SQL.90).gif SetParentImpl  (inherited from RegSvrSmoObject )
ms220136.protmethod(en-US,SQL.90).gifms220136.static(en-US,SQL.90).gif Trace  (inherited from RegSvrSmoObject )
ms220136.protmethod(en-US,SQL.90).gif UpdateObjectState  (inherited from RegSvrSmoObject )

Top

See Also

Reference

ServerGroup Class
Microsoft.SqlServer.Management.Smo.RegisteredServers Namespace

Other Resources

Managing Registered Servers
sp_ActiveDirectory_SCP (Transact-SQL)