WmiSmoObject Members
The WmiSmoObject class represents the fundamental Windows Management Instrumentation (WMI) object from which all WMI objects are constructed.
The following tables list the members exposed by the WmiSmoObject type.
Protected Constructors
名稱 | Description | |
---|---|---|
WmiSmoObject | Overloaded. Initializes a new instance of the WmiSmoObject class. |
頂端
Public Properties
名稱 | Description | |
---|---|---|
Name | Gets or sets the name of the referenced Windows Management Instrumentation (WMI) object. | |
Properties | Represents a collection of Property objects. Each Property object represents a property defined on the Windows Management Instrumentation (WMI) object. | |
State | Gets the state of the referenced object. (inherited from SmoObjectBase) | |
Urn | Gets the Uniform Resource Name (URN) address that represents the Windows Management Instrumentation (WMI) object. | |
UserData | Gets or sets user-defined data associated with the referenced object. (inherited from SmoObjectBase) |
頂端
Public Methods
(see also Protected Methods )
名稱 | Description | |
---|---|---|
Equals | Overloaded. (inherited from Object ) | |
GetHashCode | (inherited from Object ) | |
GetType | (inherited from Object ) | |
Initialize | Initializes the referenced object. | |
ReferenceEquals | (inherited from Object ) | |
Refresh | Refreshes the referenced object and its properties. | |
ToString | (inherited from Object ) |
頂端
Protected Methods
名稱 | Description | |
---|---|---|
AlterProtocolProperties | Updates any protocol object property changes on the Windows Management Instrumentation (WMI) installation. | |
CheckObjectState | Checks the state of the referenced object. | |
CreateProtocolPropertyCollection | Creates a set of protocol attributes for the referenced object. | |
Finalize | (inherited from Object ) | |
GetPropertyManagementObject | Gets the management object for the specified protocol property. | |
GetPropertyObject | Gets the property from the specified collection with the specified position and value. | |
GetProtocolPropertyCollection | Returns the protocol property collection for the referenced object. | |
ImplInitialize | ||
InvokeMgmtMethod | Overloaded. Invokes the management method for the referenced object. | |
IsObjectInitialized | Specifies whether the referenced object is initialized. | |
MemberwiseClone | (inherited from Object ) | |
SetName | Sets the name of the referenced object. | |
SetParentImpl | Sets the parent of the referenced object. | |
Trace | Creates a trace of the referenced object. | |
UpdateObjectState | Updates the object state. |
頂端
請參閱
參考
WmiSmoObject Class
Microsoft.SqlServer.Management.Smo.Wmi Namespace
其他資源
Managing Services and Network Settings by Using WMI Provider
WMI and SQL Server
連接到 SQL Server Database Engine