Share via


WmiSmoObject Class

Definition

Contains common functionality for all the WMI classes

public abstract class WmiSmoObject : Microsoft.SqlServer.Management.Smo.SmoObjectBase
type WmiSmoObject = class
    inherit SmoObjectBase
Public MustInherit Class WmiSmoObject
Inherits SmoObjectBase
Inheritance
WmiSmoObject
Derived

Constructors

WmiSmoObject()
WmiSmoObject(String)
WmiSmoObject(WmiCollectionBase, String)

Properties

Name
Properties

The property bag of the object

State

Returns the state of the object

(Inherited from SmoObjectBase)
Urn

Returns the Urn of the object, computed on the fly

UserData (Inherited from SmoObjectBase)

Methods

AlterProtocolProperties(ProtocolPropertyCollection)
CheckObjectState()
CreateProtocolPropertyCollection()
GetPropertyManagementObject(ProtocolProperty)
GetPropertyObject(PropertyCollection, DataRow, Object)
GetProtocolPropertyCollection()
ImplInitialize(String[], OrderBy[])
Initialize()

Initializes the object, by reading its properties from the enumerator

InvokeMgmtMethod(ManagementObject, ManagementOperationObserver, String, Object[])

Wraps InvokeMethod calls. When the call fails, returned error codes
are mapped into exceptions.

InvokeMgmtMethod(ManagementObject, String, Object[])
IsObjectInitialized()
Refresh()
SetName(String)
SetParentImpl(WmiSmoObject)
SetState(SqlSmoState)

Sets the object state (Existing, Dropped etc.) Applications should avoid using this method.

(Inherited from SmoObjectBase)
UpdateObjectState()
Validate(String, Object[]) (Inherited from SmoObjectBase)

Applies to