RegisteredServerCollection Members
The RegisteredServerCollection class represents a collection of RegisteredServer objects that represent all the registered servers on the registered server group.
The following tables list the members exposed by the RegisteredServerCollection type.
Protected Fields
名稱 | Description | |
---|---|---|
initialized | (inherited from RegSvrCollectionBase ) | |
innerColl | (inherited from RegSvrCollectionBase ) |
頂端
Public Properties
名稱 | Description | |
---|---|---|
Count | Gets the number of RegisteredServer objects in the 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 RegisteredServer object in the collection by name or by index number. | |
Parent | Gets the ServerGroup object that is the parent of the RegisteredServerCollection object. | |
SyncRoot | Gets an object that can be used to synchronize access to the collection. (inherited from RegSvrCollectionBase) |
頂端
Public Methods
(see also Protected Methods )
名稱 | Description | |
---|---|---|
Add | Adds a RegisteredServer object to the RegisteredServerCollection collection. | |
Contains | Determines whether the specified string value exists within the collection. | |
CopyTo | Copies the collection of objects to a one-dimensional array beginning at the index value specified. | |
Equals | Overloaded. (inherited from Object ) | |
GetEnumerator | Returns an IEnumerator interface that allows you to iterate through the objects in the collection. | |
GetHashCode | (inherited from Object ) | |
GetType | (inherited from Object ) | |
ReferenceEquals | (inherited from Object ) | |
Remove | Removes a RegisteredServer object from the RegisteredServerCollection object. | |
ToString | (inherited from Object ) |
頂端
Protected Methods
名稱 | Description | |
---|---|---|
Finalize | (inherited from Object ) | |
MemberwiseClone | (inherited from Object ) |
頂端
請參閱
參考
RegisteredServerCollection Class
Microsoft.SqlServer.Management.Smo.RegisteredServers Namespace