The ClientProtocolCollection class represents a collection of ClientProtocol objects that represent all the client protocols defined on the parent object.
The following tables list the members exposed by the ClientProtocolCollection type.
Protected Fields
| 名称 | Description | |
|---|---|---|
| .gif) | initialized | (inherited from WmiCollectionBase ) | 
| .gif) | innerColl | (inherited from WmiCollectionBase ) | 
顶部
Public Properties
| 名称 | Description | |
|---|---|---|
| .gif) | Count | Gets the number of ClientProtocol 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. | 
| .gif) | Parent | Gets the ManagedComputer object that is the parent of the ClientProtocolCollection 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 | Gets an enumerator that can iterate through the list of objects. | 
| .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 | 
顶部
请参阅
参考
ClientProtocolCollection Class
Microsoft.SqlServer.Management.Smo.Wmi Namespace