WmiCollectionBase Members

The WmiCollectionBase class represents all collection objects in the Windows Management Instrumentation (WMI) object reference.

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

Protected Fields

  名称 Description
ms220796.protfield(zh-cn,SQL.90).gif initialized  
ms220796.protfield(zh-cn,SQL.90).gif innerColl  

顶部

Public Properties

  名称 Description
ms220796.pubproperty(zh-cn,SQL.90).gif IsSynchronized Gets the Boolean property value that specifies whether access to the collection is synchronized (thread safe).
ms220796.pubproperty(zh-cn,SQL.90).gif SyncRoot Gets an object that can be used to synchronize access to the collection.

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms220796.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms220796.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms220796.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms220796.pubmethod(zh-cn,SQL.90).gifms220796.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms220796.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Object )

顶部

Protected Methods

  名称 Description
ms220796.protmethod(zh-cn,SQL.90).gif Add Adds the specified object to the referenced collection.
ms220796.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms220796.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )
ms220796.protmethod(zh-cn,SQL.90).gif Remove Removes the specified object from the referenced collection.

顶部

请参阅

参考

WmiCollectionBase Class
Microsoft.SqlServer.Management.Smo.Wmi Namespace

其他资源

Managing Services and Network Settings by Using WMI Provider
WMI and SQL Server
连接到 SQL Server 数据库引擎