Export (0) Print
Expand All

WmiSmoObject Class

The WmiSmoObject class represents the fundamental Windows Management Instrumentation (WMI) object from which all WMI objects are constructed.

Namespace:  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

public abstract class WmiSmoObject : SmoObjectBase

The WmiSmoObject type exposes the following members.

  NameDescription
Protected methodWmiSmoObject()Initializes a new instance of the WmiSmoObject class.
Protected methodWmiSmoObject(String)Initializes a new instance of the WmiSmoObject class with the specified name.
Protected methodWmiSmoObject(WmiCollectionBase, String)Initializes a new instance of the WmiSmoObject class with the specified name and collection base class.
Top

  NameDescription
Public propertyNameGets or sets the name of the referenced Windows Management Instrumentation (WMI) object.
Public propertyPropertiesRepresents a collection of Property objects. Each Property object represents a property defined on the Windows Management Instrumentation (WMI) object.
Public propertyStateGets the state of the referenced object. (Inherited from SmoObjectBase.)
Public propertyUrnGets the Uniform Resource Name (URN) address that represents the Windows Management Instrumentation (WMI) object.
Public propertyUserDataGets or sets user-defined data associated with the referenced object. (Inherited from SmoObjectBase.)
Top

  NameDescription
Protected methodAlterProtocolPropertiesUpdates any protocol object property changes on the Windows Management Instrumentation (WMI) installation.
Protected methodCheckObjectStateChecks the state of the referenced object.
Protected methodCreateProtocolPropertyCollectionCreates a set of protocol attributes for the referenced object.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Protected methodGetPropertyManagementObjectGets the management object for the specified protocol property.
Protected methodGetPropertyObjectGets the property from the specified collection with the specified position and value.
Protected methodGetProtocolPropertyCollectionReturns the protocol property collection for the referenced object.
Public methodGetType (Inherited from Object.)
Protected methodImplInitializeInitializes the fields of the WmiSmoObject object.
Public methodInitializeInitializes the referenced object.
Protected methodInvokeMgmtMethod(ManagementObject, String, Object[])Invokes the management method for the referenced object with the specified management object, method name, and parameters.
Protected methodInvokeMgmtMethod(ManagementObject, ManagementOperationObserver, String, Object[])Invokes the management method for the referenced object with the specified management object, observer, method name, and parameters.
Protected methodIsObjectInitializedSpecifies whether the referenced object is initialized.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRefreshRefreshes the referenced object and its properties.
Protected methodSetNameSets the name of the referenced object.
Protected methodSetParentImplSets the parent of the referenced object.
Public methodToString (Inherited from Object.)
Protected methodStatic memberTraceCreates a trace of the referenced object.
Protected methodUpdateObjectStateUpdates the object state.
Public methodValidateValidates the state of an object. (Inherited from SmoObjectBase.)
Top

The WmiSmoObject object is used in the construction of all WMI objects and contains common functionality.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft