Share via


Classe WmiSmoObject

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

Espace de noms :  Microsoft.SqlServer.Management.Smo.Wmi
Assembly :  Microsoft.SqlServer.SqlWmiManagement (dans Microsoft.SqlServer.SqlWmiManagement.dll)

Syntaxe

'Déclaration
Public MustInherit Class WmiSmoObject _
    Inherits SmoObjectBase
'Utilisation
Dim instance As WmiSmoObject
public abstract class WmiSmoObject : SmoObjectBase
public ref class WmiSmoObject abstract : public SmoObjectBase
[<AbstractClassAttribute>]
type WmiSmoObject =  
    class
        inherit SmoObjectBase
    end
public abstract class WmiSmoObject extends SmoObjectBase

Notes

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

To get or set WmiSmoObject object properties or run WmiSmoObject methods, users must be a member of the sysadmin fixed server role.

Thread Safety

Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme sûrs.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.