This topic has not yet been rated - Rate this topic

ManagementObject Constructor

Initializes a new instance of the ManagementObject class.
Name Description
ManagementObject () Initializes a new instance of the ManagementObject class. This is the default constructor.
ManagementObject (ManagementPath) Initializes a new instance of the ManagementObject class for the specified WMI object path. The path is provided as a ManagementPath.
ManagementObject (String) Initializes a new instance of the ManagementObject class for the specified WMI object path. The path is provided as a string.
ManagementObject (ManagementPath, ObjectGetOptions) Initializes a new instance of the ManagementObject class bound to the specified WMI path, including the specified additional options.
ManagementObject (SerializationInfo, StreamingContext) Initializes a new instance of the ManagementObject class that is serializable.
ManagementObject (String, ObjectGetOptions) Initializes a new instance of the ManagementObject class bound to the specified WMI path, including the specified additional options. In this variant, the path can be specified as a string.
ManagementObject (ManagementScope, ManagementPath, ObjectGetOptions) Initializes a new instance of the ManagementObject class bound to the specified WMI path that includes the specified options.
ManagementObject (String, String, ObjectGetOptions) Initializes a new instance of the ManagementObject class bound to the specified WMI path, and includes the specified options. The scope and the path are specified as strings.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.