Upgrade your Internet Experience
United States - English
Argentina (Español)
Australia (English)
Brasil (Português)
Canada (English)
Canada (Français)
中国 (简体中文)
Colombia (Español)
Deutschland (Deutsch)
España (Español)
France (Français)
India (English)
Italia (Italiano)
日本 (日本語)
México (Español)
Perú (Español)
Россия (Pусский)
United Kingdom (English)
United States (English)
More...
Microsoft.com
Welcome
Sign in
.NET Framework Developer Center
Home
Library
Learn
Downloads
Support
Community
Forums
Printer Friendly Version
Send
Add Content...
Click to Rate and Give Feedback
Give feedback on this content
Switch View
x
Classic
Lightweight Beta
ScriptFree
Switch View
MSDN Library
MSDN
Please Wait
MSDN Library
Please Wait
.NET Development
Please Wait
.NET Framework 3.5
Please Wait
.NET Framework Class Library
Please Wait
System.Management Namespace
Please Wait
ManagementObject Class
Please Wait
ManagementObject Members
Collapse All
Expand All
Language Filter
Visual Basic
C#
C++
J#
JScript
XAML
F#
Members Filter
Include Protected Members
Include Inherited Members
Frameworks Filter
Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5
Other versions are also available for the following:
Microsoft Visual Studio 2003/.NET Framework 1.1
Microsoft Visual Studio 2005/.NET Framework 2.0
.NET Framework 3.0
Microsoft Visual Studio 2010/.NET Framework 4.0
.NET Framework Class Library
ManagementObject Members
Represents a WMI instance.
The
ManagementObject
type exposes the following members.
Constructors
Name
Description
ManagementObject
Overloaded.
Initializes a new instance of the
ManagementObject
class.
Top
Methods
Name
Description
Clone
Creates a copy of the object.
(Overrides
ManagementBaseObject
.
.
::
.
Clone
()
()
()
.)
CompareTo
Compares this object to another, based on specified options.
(Inherited from
ManagementBaseObject
.)
CopyTo
Overloaded.
Copies the object to a different location.
CreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from
MarshalByRefObject
.)
Delete
Overloaded.
Deletes the object.
Dispose
Overloaded.
Releases all resources used by the Component.
Equals
Compares two management objects.
(Inherited from
ManagementBaseObject
.)
Finalize
Releases unmanaged resources and performs other cleanup operations before the
Component
is reclaimed by garbage collection.
(Inherited from
Component
.)
Get
Overloaded.
Binds to the management object.
GetHashCode
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from
ManagementBaseObject
.)
GetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from
MarshalByRefObject
.)
GetMethodParameters
Returns a
ManagementBaseObject
representing the list of input parameters for a method.
GetObjectData
Populates a
SerializationInfo
with the data necessary to deserialize the field represented by this instance.
(Overrides
ManagementBaseObject
.
.
::
.
GetObjectData(SerializationInfo, StreamingContext)
.)
GetPropertyQualifierValue
Returns the value of the specified property qualifier.
(Inherited from
ManagementBaseObject
.)
GetPropertyValue
Gets an equivalent accessor to a property's value.
(Inherited from
ManagementBaseObject
.)
GetQualifierValue
Gets the value of the specified qualifier.
(Inherited from
ManagementBaseObject
.)
GetRelated
Overloaded.
Gets a collection of objects related to the object (associators).
GetRelationships
Overloaded.
Gets a collection of associations to the object.
GetService
Returns an object that represents a service provided by the
Component
or by its
Container
.
(Inherited from
Component
.)
GetText
Returns a textual representation of the object in the specified format.
(Inherited from
ManagementBaseObject
.)
GetType
Gets the
Type
of the current instance.
(Inherited from
Object
.)
InitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from
MarshalByRefObject
.)
InvokeMethod
Overloaded.
Invokes a method on the object.
MemberwiseClone
Overloaded.
Put
Overloaded.
Commits the changes to the object.
SetPropertyQualifierValue
Sets the value of the specified property qualifier.
(Inherited from
ManagementBaseObject
.)
SetPropertyValue
Sets the value of the named property.
(Inherited from
ManagementBaseObject
.)
SetQualifierValue
Sets the value of the named qualifier.
(Inherited from
ManagementBaseObject
.)
ToString
Returns the full path of the object. This is an override of the default object implementation.
(Overrides
Component
.
.
::
.
ToString
()
()
()
.)
Top
Properties
Name
Description
CanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from
Component
.)
ClassPath
Gets or sets the path to the object's class.
(Overrides
ManagementBaseObject
.
.
::
.
ClassPath
.)
Container
Gets the
IContainer
that contains the
Component
.
(Inherited from
Component
.)
DesignMode
Gets a value that indicates whether the
Component
is currently in design mode.
(Inherited from
Component
.)
Events
Gets the list of event handlers that are attached to this
Component
.
(Inherited from
Component
.)
Item
Gets access to property values through [] notation. This property is the indexer for the
ManagementBaseObject
class. You can use the default indexed properties defined by a type, but you cannot explicitly define your own. However, specifying the
expando
attribute on a class automatically provides a default indexed property whose type is Object and whose index type is String.
(Inherited from
ManagementBaseObject
.)
Options
Gets or sets additional information to use when retrieving the object.
Path
Gets or sets the object's WMI path.
Properties
Gets a collection of
PropertyData
objects describing the properties of the management object.
(Inherited from
ManagementBaseObject
.)
Qualifiers
Gets the collection of
QualifierData
objects defined on the management object. Each element in the collection holds information such as the
qualifier
name, value, and
flavor
.
(Inherited from
ManagementBaseObject
.)
Scope
Gets or sets the scope in which this object resides.
Site
Gets or sets the
ISite
of the
Component
.
(Inherited from
Component
.)
SystemProperties
Gets the collection of WMI system properties of the management object (for example, the class name, server, and namespace). WMI system property names begin with "__".
(Inherited from
ManagementBaseObject
.)
Top
Events
Name
Description
Disposed
Occurs when the component is disposed by a call to the
Dispose
method.
(Inherited from
Component
.)
Top
Explicit Interface Implementations
Name
Description
ISerializable
.
.
::
.
GetObjectData
Implements the
System.Runtime.Serialization
.
.
::
.
ISerializable
interface and returns the data needed to serialize the
ManagementBaseObject
.
(Inherited from
ManagementBaseObject
.)
Top
See Also
Reference
ManagementObject Class
System.Management Namespace
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
Community Content
Add new content
Annotations
|
Edit
Tags
:
Add a tag
Add
Cancel
Flag as
ContentBug
© 2009 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement
|
Site Feedback