ServerGroupCollection Members
The ServerGroupCollection class represents a collection of ServerGroup objects that represent all the server groups on the server group.
The following tables list the members exposed by the ServerGroupCollection type.
Protected Fields
Name | Description | |
---|---|---|
![]() |
initialized | (inherited from RegSvrCollectionBase ) |
![]() |
innerColl | (inherited from RegSvrCollectionBase ) |
Top
Public Properties
Name | Description | |
---|---|---|
![]() |
Count | Gets the number of objects in the referenced collection. |
![]() |
IsSynchronized | Gets a Boolean value indicating whether access to the collection is synchronized and therefore thread-safe. (inherited from RegSvrCollectionBase) |
![]() |
Item | Overloaded. Gets a ServerGroup object in the collection by name or by index number. |
![]() |
Parent | Gets the ServerGroup object that is the parent of the ServerGroupCollection object. |
![]() |
SyncRoot | Gets an object that can be used to synchronize access to the collection. (inherited from RegSvrCollectionBase) |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
![]() |
Add | Adds a ServerGroup object to the ServerGroupCollection collection. |
![]() |
Contains | Determines whether the specified string value exists within the collection. |
![]() |
CopyTo | Copies the collection objects to a one-dimensional array beginning at the index value specified. |
![]() |
Equals | Overloaded. (inherited from Object ) |
![]() |
GetEnumerator | Returns an IEnumerator interface that lets you iterate through the objects in the collection. |
![]() |
GetHashCode | (inherited from Object ) |
![]() |
GetType | (inherited from Object ) |
![]() ![]() |
ReferenceEquals | (inherited from Object ) |
![]() |
Remove | Removes a ServerGroup object from the ServerGroupCollection object. |
![]() |
ToString | (inherited from Object ) |
Top
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | (inherited from Object ) |
![]() |
MemberwiseClone | (inherited from Object ) |
Top
See Also
Reference
ServerGroupCollection Class
Microsoft.SqlServer.Management.Smo.RegisteredServers Namespace