1 type derived from ManagementObject
System.Management (1)
managementclass.cs (1)
49
public class ManagementClass :
ManagementObject
11 instantiations of ManagementObject
System.Management (11)
Instrumentation\SchemaRegistration.cs (9)
160
ManagementObject inst = new
ManagementObject
(RegistrationPath);
176
ManagementObject obj = new
ManagementObject
(RegistrationPath);
190
registrationInstance = new
ManagementObject
(RegistrationPath);
260
GetMofFormat(new
ManagementObject
(GlobalRegistrationPath)),
268
GetMofFormat(new
ManagementObject
(ProviderPath)),
270
GetMofFormat(new
ManagementObject
(EventProviderRegistrationPath)),
271
GetMofFormat(new
ManagementObject
(InstanceProviderRegistrationPath)),
275
GetMofFormat(new
ManagementObject
(RegistrationPath)) );
778
ManagementObject inst = new
ManagementObject
(objectPath);
managementobject.cs (2)
155
ManagementObject newObject = new
ManagementObject
();
184
ManagementObject newObject = new
ManagementObject
();
74 references to ManagementObject
System.Management (74)
Instrumentation\SchemaMapping.cs (1)
514
else if(t2 == typeof(
ManagementObject
))
Instrumentation\SchemaRegistration.cs (15)
160
ManagementObject
inst = new ManagementObject(RegistrationPath);
176
ManagementObject
obj = new ManagementObject(RegistrationPath);
184
ManagementObject
registrationInstance = null;
185
ManagementObject
RegistrationInstance
232
bool IsClassAlreadyPresentInRepository(
ManagementObject
obj)
239
ManagementObject
inst = new ManagementClass(ClassPathInRepository);
557
ManagementObject
inst = registrationClass.CreateInstance();
565
ManagementObject
inst = registrationClass.CreateInstance();
578
ManagementObject
inst = providerClass.CreateInstance();
593
ManagementObject
inst = providerRegistrationClass.CreateInstance();
607
ManagementObject
inst = providerRegistrationClass.CreateInstance();
728
ManagementObject
inst = namespaceClass.CreateInstance();
778
ManagementObject
inst = new ManagementObject(objectPath);
799
ManagementObject
cls = new ManagementClass(objectPath);
871
static string GetMofFormat(
ManagementObject
obj)
managementbaseobject.cs (5)
303
newObject =
ManagementObject
.GetManagementObject(wbemObject, scope);
710
if (this is
ManagementObject
&& obj is
ManagementObject
)
712
int compareRes = String.Compare(((
ManagementObject
)this).Path.Path,
713
((
ManagementObject
)obj).Path.Path,
managementclass.cs (11)
410
/// <para>A collection of the <see cref='System.Management.
ManagementObject
'/> objects
436
/// <para>A collection of the <see cref='System.Management.
ManagementObject
'/> objects
642
/// <para>A collection of the <see cref='System.Management.
ManagementObject
'/> objects that
657
/// <para>A collection of the <see cref='System.Management.
ManagementObject
'/> objects
802
/// until the <see cref='System.Management.
ManagementObject
.Put'/>() method is explicitly called.</para>
883
/// <para>A <see cref='System.Management.
ManagementObject
'/> that represents a new
888
/// <see cref='System.Management.
ManagementObject
.Put'/>() method is called. Before committing it, the key properties must
906
public
ManagementObject
CreateInstance()
908
ManagementObject
newInstance = null;
927
newInstance =
ManagementObject
.GetManagementObject(newWbemInstance, Scope);
984
/// <para>A collection of the <see cref='System.Management.ManagementClass'/> or <see cref='System.Management.
ManagementObject
'/>
managementexception.cs (1)
212
/// <see cref='System.Management.
ManagementObject
.Put'/>().</para>
managementobject.cs (18)
151
internal static
ManagementObject
GetManagementObject(
153
ManagementObject
mgObj)
155
ManagementObject
newObject = new ManagementObject();
180
internal static
ManagementObject
GetManagementObject(
184
ManagementObject
newObject = new ManagementObject();
206
/// Initializes a new instance of the <see cref='System.Management.
ManagementObject
'/> class.
209
/// <para>Initializes a new instance of the <see cref='System.Management.
ManagementObject
'/> class. This is the
235
/// <para>Initializes a new instance of the <see cref='System.Management.
ManagementObject
'/> class for the specified WMI
250
/// <para>Initializes a new instance of the <see cref='System.Management.
ManagementObject
'/> class for the specified WMI object path. The path
278
/// <para>Initializes a new instance of the <see cref='System.Management.
ManagementObject
'/> class bound to the specified
308
/// <para>Initializes a new instance of the <see cref='System.Management.
ManagementObject
'/> class bound to the specified WMI path, including the
336
/// <para> Initializes a new instance of the <see cref='System.Management.
ManagementObject
'/>
388
if (GetType() == typeof(
ManagementObject
) && path.IsClass)
440
/// <para> Initializes a new instance of the <see cref='System.Management.
ManagementObject
'/> class
462
/// <para>Initializes a new instance of the <see cref='System.Management.
ManagementObject
'/> class that is serializable.</para>
578
if ((GetType() == typeof(
ManagementObject
) && newPath.IsInstance) ||
2440
/// method, and then fills in the values and passes the object to the <see cref='System.Management.
ManagementObject
.InvokeMethod'/>() call.</para>
2552
return
ManagementObject
.GetManagementObject(theClone, this);
managementobjectcollection.cs (2)
12
/// retrieved through WMI. The objects in this collection are of <see cref='System.Management.ManagementBaseObject'/>-derived types, including <see cref='System.Management.
ManagementObject
'/> and <see cref='System.Management.ManagementClass'/>
19
/// be retrieved through a method such as <see cref='System.Management.
ManagementObject
.GetRelated()'/>.</para>
managementoperationwatcher.cs (1)
281
ManagementObject
managementObject)
managementoptions.cs (2)
90
/// using <see cref='System.Management.
ManagementObject
.Put'/>.</para>
1160
/// <para>Initializes a new instance of the <see cref='System.Management.InvokeMethodOptions'/> class for the <see cref='System.Management.
ManagementObject
.InvokeMethod'/> operation, using default values.
method.cs (2)
99
private
ManagementObject
parent; //needed to be able to get method qualifiers
105
internal MethodData(
ManagementObject
parent, string methodName)
methodset.cs (6)
49
private
ManagementObject
parent;
55
internal MethodDataCollection(
ManagementObject
parent) : base()
237
private
ManagementObject
parent;
245
internal MethodDataEnumerator(
ManagementObject
parent)
358
if (parent.GetType() == typeof(
ManagementObject
)) //can't remove methods from instance
420
if (parent.GetType() == typeof(
ManagementObject
)) //can't add methods to instance
property.cs (2)
163
if (parent.GetType() == typeof(
ManagementObject
))
164
((
ManagementObject
)parent).Path.UpdateRelativePath((string)parent["__RELPATH"]);
propertyset.cs (4)
370
if (parent.GetType() == typeof(
ManagementObject
))
409
if (parent.GetType() == typeof(
ManagementObject
)) //can't add properties to instance
448
if (parent.GetType() == typeof(
ManagementObject
)) //can't add properties to instance
490
if (parent.GetType() == typeof(
ManagementObject
)) //can't add properties to instance
wmieventsink.cs (4)
263
private
ManagementObject
managementObject;
268
static
ManagementObject
managementObjectParameter;
276
ManagementObject
managementObject)
308
ManagementObject
managementObject) :