WmiSmoObject WmiSmoObject 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
WmiSmoObjectWmiSmoObjectWmiSmoObject
Derived

Constructors

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

Properties

Name Name Name
Properties Properties Properties

The property bag of the object

State State State

Returns the state of the object

(Inherited from SmoObjectBase)
Urn Urn Urn

Returns the Urn of the object, computed on the fly

UserData UserData UserData Inherited from SmoObjectBase

Methods

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

Initializes the object, by reading its properties from the enumerator

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

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

InvokeMgmtMethod(ManagementObject, String, Object[]) InvokeMgmtMethod(ManagementObject, String, Object[]) InvokeMgmtMethod(ManagementObject, String, Object[])
IsObjectInitialized() IsObjectInitialized() IsObjectInitialized()
Refresh() Refresh() Refresh()
SetName(String) SetName(String) SetName(String)
SetParentImpl(WmiSmoObject) SetParentImpl(WmiSmoObject) SetParentImpl(WmiSmoObject)
Trace(String) Trace(String) Trace(String)
UpdateObjectState() UpdateObjectState() UpdateObjectState()
Validate(String, Object[]) Validate(String, Object[]) Validate(String, Object[]) Inherited from SmoObjectBase

Applies to