Udostępnij za pośrednictwem


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

  Name Description
WmiSmoObject Overloaded. Initializes a new instance of the WmiSmoObject class.

Top

Public Properties

  Name Description
ms220820.pubproperty(en-US,SQL.90).gif Name Gets or sets the name of the referenced Windows Management Instrumentation (WMI) object.
ms220820.pubproperty(en-US,SQL.90).gif Properties Represents a collection of Property objects. Each Property object represents a property defined on the Windows Management Instrumentation (WMI) object.
ms220820.pubproperty(en-US,SQL.90).gif State  Gets the state of the referenced object. (inherited from SmoObjectBase)
ms220820.pubproperty(en-US,SQL.90).gif Urn Gets the Uniform Resource Name (URN) address that represents the Windows Management Instrumentation (WMI) object.
ms220820.pubproperty(en-US,SQL.90).gif UserData  Gets or sets user-defined data associated with the referenced object. (inherited from SmoObjectBase)

Top

Public Methods

(see also Protected Methods )

  Name Description
ms220820.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms220820.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
ms220820.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms220820.pubmethod(en-US,SQL.90).gif Initialize Initializes the referenced object.
ms220820.pubmethod(en-US,SQL.90).gifms220820.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms220820.pubmethod(en-US,SQL.90).gif Refresh Refreshes the referenced object and its properties.
ms220820.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
ms220820.protmethod(en-US,SQL.90).gif AlterProtocolProperties Updates any protocol object property changes on the Windows Management Instrumentation (WMI) installation.
ms220820.protmethod(en-US,SQL.90).gif CheckObjectState Checks the state of the referenced object.
ms220820.protmethod(en-US,SQL.90).gif CreateProtocolPropertyCollection Creates a set of protocol attributes for the referenced object.
ms220820.protmethod(en-US,SQL.90).gif Finalize  (inherited from Object )
ms220820.protmethod(en-US,SQL.90).gif GetPropertyManagementObject Gets the management object for the specified protocol property.
ms220820.protmethod(en-US,SQL.90).gif GetPropertyObject Gets the property from the specified collection with the specified position and value.
ms220820.protmethod(en-US,SQL.90).gif GetProtocolPropertyCollection Returns the protocol property collection for the referenced object.
ms220820.protmethod(en-US,SQL.90).gif ImplInitialize  
ms220820.protmethod(en-US,SQL.90).gif InvokeMgmtMethod Overloaded. Invokes the management method for the referenced object.
ms220820.protmethod(en-US,SQL.90).gif IsObjectInitialized Specifies whether the referenced object is initialized.
ms220820.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )
ms220820.protmethod(en-US,SQL.90).gif SetName Sets the name of the referenced object.
ms220820.protmethod(en-US,SQL.90).gif SetParentImpl Sets the parent of the referenced object.
ms220820.protmethod(en-US,SQL.90).gifms220820.static(en-US,SQL.90).gif Trace Creates a trace of the referenced object.
ms220820.protmethod(en-US,SQL.90).gif UpdateObjectState Updates the object state.

Top

See Also

Reference

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

Other Resources

Managing Services and Network Settings by Using WMI Provider
WMI and SQL Server
Connecting to the SQL Server Database Engine