The ServerIPAddressCollection class represents a collection of ServerIPAddress objects that represent all the server IP addresses defined on the parent object.
The following tables list the members exposed by the ServerIPAddressCollection type.
Protected Fields
| 名称 | Description | |
|---|---|---|
| .gif) | initialized | (inherited from WmiCollectionBase ) | 
| .gif) | innerColl | (inherited from WmiCollectionBase ) | 
顶部
Public Properties
| 名称 | Description | |
|---|---|---|
| .gif) | Count | Gets the number of ServerIPAddress objects in the referenced collection. | 
| .gif) | IsSynchronized | Gets the Boolean property value that specifies whether access to the collection is synchronized (thread safe). (inherited from WmiCollectionBase) | 
| .gif) | Item | Overloaded. Gets a ServerIPAddress object in the collection by name or by index number. | 
| .gif) | Parent | Gets the ServerProtocol object that is the parent of the ServerIPAddressCollection object. | 
| .gif) | SyncRoot | Gets an object that can be used to synchronize access to the collection. (inherited from WmiCollectionBase) | 
顶部
Public Methods
(see also Protected Methods )
| 名称 | Description | |
|---|---|---|
| .gif) | Contains | Checks whether the specified key value exists in the collection. | 
| .gif) | CopyTo | Copies the collection objects to a one-dimensional array beginning at the index value specified. | 
| .gif) | Equals | Overloaded. (inherited from Object ) | 
| .gif) | GetEnumerator | Returns an IEnumerator interface that allows you to iterate through the objects in the collection. | 
| .gif) | GetHashCode | (inherited from Object ) | 
| .gif) | GetType | (inherited from Object ) | 
| .gif) .gif) | ReferenceEquals | (inherited from Object ) | 
| .gif) | ToString | (inherited from Object ) | 
顶部
Protected Methods
| 名称 | Description | |
|---|---|---|
| .gif) | Add | (inherited from WmiCollectionBase ) | 
| .gif) | Finalize | (inherited from Object ) | 
| .gif) | MemberwiseClone | (inherited from Object ) | 
| .gif) | Remove | (inherited from WmiCollectionBase ) | 
顶部
Explicit Interface Implementations
| 名称 | Description | |
|---|---|---|
| System.Collections.ICollection.CopyTo | 
顶部
请参阅
参考
ServerIPAddressCollection Class
Microsoft.SqlServer.Management.Smo.Wmi Namespace