39 instantiations of ManagementPath
System.Management (39)
System\Management\ManagementBaseObject.cs (1)
433
ManagementPath classPath = new
ManagementPath
();
System\Management\ManagementClass.cs (5)
119
newClass.path = new
ManagementPath
(ManagementPath.GetManagementPath(wbemObject));
177
public ManagementClass(string path) : this(null, new
ManagementPath
(path), null) { }
216
: this(null, new
ManagementPath
(path), options) { }
268
: base(new ManagementScope(scope), new
ManagementPath
(path), options) { }
811
ManagementPath path = new
ManagementPath
();
System\Management\ManagementObject.cs (19)
185
newObject.path = new
ManagementPath
(ManagementPath.GetManagementPath(wbemObject));
273
public ManagementObject(string path) : this(null, new
ManagementPath
(path), null) { }
331
this(new
ManagementPath
(path), options)
400
path = new
ManagementPath
(path.RelativePath);
458
: this(new ManagementScope(scopeString), new
ManagementPath
(pathString), options) { }
566
ManagementPath newPath = value ?? new
ManagementPath
();
703
ManagementPath classPath = new
ManagementPath
();
1560
newPath = new
ManagementPath
(scope.Path.Path);
1572
newPath = new
ManagementPath
((string)pathValue);
1579
newPath = new
ManagementPath
(scope.Path.Path);
1590
return newPath ?? new
ManagementPath
();
1713
return CopyTo(new
ManagementPath
(path), (PutOptions)null);
1726
return CopyTo(new
ManagementPath
(path), options);
1847
CopyTo(watcher, new
ManagementPath
(path), null);
1858
CopyTo(watcher, new
ManagementPath
(path), options);
2551
path = new
ManagementPath
();
2584
scope.Path = new
ManagementPath
(nsPath);
2650
path = (System.DBNull.Value != val) ? (new
ManagementPath
((string)val)) : (new
ManagementPath
());
System\Management\ManagementPath.cs (4)
75
private static ManagementPath defaultPath = new
ManagementPath
("//./root/cimv2");
156
ManagementPath pathTmp = new
ManagementPath
();
216
return new
ManagementPath
(Path);
558
ManagementPath newPath = new
ManagementPath
(relPath);
System\Management\ManagementQuery.cs (4)
673
ManagementPath p = new
ManagementPath
(queryOrClassName);
1268
ManagementPath p = new
ManagementPath
(queryOrSourceObject);
1895
ManagementPath p = new
ManagementPath
(queryOrSourceObject);
2483
ManagementPath p = new
ManagementPath
(queryOrEventClassName);
System\Management\ManagementScope.cs (3)
691
this(new
ManagementPath
(ManagementPath.DefaultPath.Path))
723
public ManagementScope(string path) : this(new
ManagementPath
(path), (ConnectionOptions)null) { }
742
public ManagementScope(string path, ConnectionOptions options) : this(new
ManagementPath
(path), options) { }
System\Management\WmiEventSink.cs (1)
77
this.path = new
ManagementPath
(path);
System\Management\WMIGenerator.cs (2)
527
thePath = new
ManagementPath
(OriginalPath);
531
thePath = new
ManagementPath
();
121 references to ManagementPath
System.Management (121)
System\Management\ManagementBaseObject.cs (3)
397
/// <para>A <see cref='System.Management.
ManagementPath
'/> that represents the path to the management object's class.</para>
404
public virtual
ManagementPath
ClassPath
433
ManagementPath
classPath = new ManagementPath();
System\Management\ManagementClass.cs (12)
75
ManagementPath
objPath = mgObj.Path;
78
newClass.path =
ManagementPath
._Clone(objPath);
119
newClass.path = new ManagementPath(
ManagementPath
.GetManagementPath(wbemObject));
144
public ManagementClass() : this((ManagementScope)null, (
ManagementPath
)null, null) { }
151
/// <param name='path'>A <see cref='System.Management.
ManagementPath
'/> specifying which WMI class to bind to.</param>
164
public ManagementClass(
ManagementPath
path) : this(null, path, null) { }
183
/// <param name='path'>A <see cref='System.Management.
ManagementPath
'/> representing the WMI class path.</param>
197
public ManagementClass(
ManagementPath
path, ObjectGetOptions options) : this(null, path, options) { }
223
/// <param name=' path'>A <see cref='System.Management.
ManagementPath
'/> that represents the path to the WMI class in the specified scope.</param>
242
public ManagementClass(ManagementScope scope,
ManagementPath
path, ObjectGetOptions options)
301
public override
ManagementPath
Path
811
ManagementPath
path = new ManagementPath();
System\Management\ManagementEventArgs.cs (7)
14
private readonly
ManagementPath
path;
16
internal InternalObjectPutEventArgs(
ManagementPath
path)
21
internal
ManagementPath
Path
152
private readonly
ManagementPath
wmiPath;
161
internal ObjectPutEventArgs(object context,
ManagementPath
path) : base(context)
171
/// <para>A <see cref='System.Management.
ManagementPath
'/> containing the path of the object that has
174
public
ManagementPath
Path
System\Management\ManagementObject.cs (45)
74
internal
ManagementPath
path;
161
newObject.path =
ManagementPath
._Clone(mgObj.path);
185
newObject.path = new ManagementPath(
ManagementPath
.GetManagementPath(wbemObject));
234
/// object path. The path is provided as a <see cref='System.Management.
ManagementPath
'/>.</para>
236
/// <param name='path'>A <see cref='System.Management.
ManagementPath
'/> that contains a path to a WMI object.</param>
245
public ManagementObject(
ManagementPath
path) : this(null, path, null) { }
255
/// default namespace is the <see cref='System.Management.
ManagementPath
.DefaultPath'/>
279
/// <param name='path'>A <see cref='System.Management.
ManagementPath
'/> containing the WMI path.</param>
303
public ManagementObject(
ManagementPath
path, ObjectGetOptions options) : this(null, path, options) { }
339
/// <param name=' path'>A <see cref='System.Management.
ManagementPath
'/> representing the WMI path to the manageable object.</param>
347
/// path is specified, then the scope will default to the local machine's <see cref='System.Management.
ManagementPath
.DefaultPath'/>. </para>
372
public ManagementObject(ManagementScope scope,
ManagementPath
path, ObjectGetOptions options)
378
private void ManagementObjectCTOR(ManagementScope scope,
ManagementPath
path, ObjectGetOptions options)
407
this.path =
ManagementPath
._Clone(path, new IdentifierChangedEventHandler(HandleIdentifierChange));
410
this.path =
ManagementPath
._Clone(null, new IdentifierChangedEventHandler(HandleIdentifierChange));
533
/// <para>A <see cref='System.Management.
ManagementPath
'/> representing the object's path.</para>
558
public virtual
ManagementPath
Path
562
return path ??=
ManagementPath
._Clone(null);
566
ManagementPath
newPath = value ?? new ManagementPath();
582
path =
ManagementPath
._Clone((
ManagementPath
)value, new IdentifierChangedEventHandler(HandleIdentifierChange));
649
/// <para>A <see cref='System.Management.
ManagementPath
'/> representing the path to the object's
667
public override
ManagementPath
ClassPath
703
ManagementPath
classPath = new ManagementPath();
1433
/// <para>A <see cref='System.Management.
ManagementPath
'/> containing the path to the committed
1436
public
ManagementPath
Put()
1450
/// A <see cref='System.Management.
ManagementPath
'/> containing the path to the committed object.
1452
public
ManagementPath
Put(PutOptions options)
1454
ManagementPath
newPath = null;
1541
private
ManagementPath
GetPath(IWbemCallResult callResult)
1543
ManagementPath
newPath = null;
1695
/// <param name='path'>The <see cref='System.Management.
ManagementPath
'/> to which the object should be copied. </param>
1699
public
ManagementPath
CopyTo(
ManagementPath
path)
1711
public
ManagementPath
CopyTo(string path)
1724
public
ManagementPath
CopyTo(string path, PutOptions options)
1732
/// <param name='path'>The <see cref='System.Management.
ManagementPath
'/> to which the object should be copied.</param>
1737
public
ManagementPath
CopyTo(
ManagementPath
path, PutOptions options)
1749
ManagementPath
newPath = null;
1834
/// <param name='path'>A <see cref='System.Management.
ManagementPath
'/> specifying the path to which the object should be copied.</param>
1835
public void CopyTo(ManagementOperationObserver watcher,
ManagementPath
path)
1867
public void CopyTo(ManagementOperationObserver watcher,
ManagementPath
path, PutOptions options)
2437
ManagementPath
classPath = ClassPath;
2586
scope.Path =
ManagementPath
.DefaultPath;
System\Management\ManagementObjectSearcher.cs (2)
125
/// <para>If no scope is specified, the default scope (<see cref='System.Management.
ManagementPath
.DefaultPath'/>) is used.</para>
148
/// <para>If no scope is specified, the default scope (<see cref='System.Management.
ManagementPath
.DefaultPath'/>) is
System\Management\ManagementPath.cs (22)
75
private static
ManagementPath
defaultPath = new ManagementPath("//./root/cimv2");
149
internal static
ManagementPath
_Clone(
ManagementPath
path)
151
return
ManagementPath
._Clone(path, null);
154
internal static
ManagementPath
_Clone(
ManagementPath
path, IdentifierChangedEventHandler handler)
156
ManagementPath
pathTmp = new ManagementPath();
178
/// of the <see cref='System.Management.
ManagementPath
'/> class.
181
/// <para> Initializes a new instance of the <see cref='System.Management.
ManagementPath
'/> class that is empty. This is the default constructor.</para>
186
/// <para>Initializes a new instance of the <see cref='System.Management.
ManagementPath
'/> class for the given path.</para>
201
/// <see cref='System.Management.
ManagementPath
.Path'/> property.
209
/// <para>Returns a copy of the <see cref='System.Management.
ManagementPath
'/>.</para>
214
public
ManagementPath
Clone()
238
public static
ManagementPath
DefaultPath
240
get { return
ManagementPath
.defaultPath; }
241
set {
ManagementPath
.defaultPath = value; }
558
ManagementPath
newPath = new ManagementPath(relPath);
1068
if ((sourceType == typeof(
ManagementPath
)))
1109
if (value is
ManagementPath
&& destinationType == typeof(InstanceDescriptor))
1111
ManagementPath
obj = ((
ManagementPath
)(value));
1112
ConstructorInfo ctor = typeof(
ManagementPath
).GetConstructor(new Type[] { typeof(string) });
System\Management\ManagementQuery.cs (4)
673
ManagementPath
p = new ManagementPath(queryOrClassName);
1268
ManagementPath
p = new ManagementPath(queryOrSourceObject);
1895
ManagementPath
p = new ManagementPath(queryOrSourceObject);
2483
ManagementPath
p = new ManagementPath(queryOrEventClassName);
System\Management\ManagementScope.cs (23)
485
private
ManagementPath
validatedPath;
517
private
ManagementPath
prvpath
528
if (!
ManagementPath
.IsValidNamespaceSyntax(pathValue))
602
internal ManagementScope(
ManagementPath
path, IWbemServices wbemServices,
618
internal ManagementScope(
ManagementPath
path, ManagementScope scope)
641
scopeTmp.prvpath =
ManagementPath
._Clone(
ManagementPath
.DefaultPath, new IdentifierChangedEventHandler(scopeTmp.HandleIdentifierChange));
652
scopeTmp.prvpath =
ManagementPath
._Clone(
ManagementPath
.DefaultPath, new IdentifierChangedEventHandler(scopeTmp.HandleIdentifierChange));
658
scopeTmp.prvpath =
ManagementPath
._Clone(scope.prvpath, new IdentifierChangedEventHandler(scopeTmp.HandleIdentifierChange));
691
this(new ManagementPath(
ManagementPath
.DefaultPath.Path))
702
/// <param name='path'>A <see cref='System.Management.
ManagementPath
'/> containing the path to a server and namespace for the <see cref='System.Management.ManagementScope'/>.</param>
710
public ManagementScope(
ManagementPath
path) : this(path, (ConnectionOptions)null) { }
748
/// <param name='path'>A <see cref='System.Management.
ManagementPath
'/> containing the path to the server and namespace for the <see cref='System.Management.ManagementScope'/>.</param>
766
public ManagementScope(
ManagementPath
path, ConnectionOptions options)
769
this.prvpath =
ManagementPath
._Clone(path, new IdentifierChangedEventHandler(HandleIdentifierChange));
771
this.prvpath =
ManagementPath
._Clone(null);
833
/// <para> A <see cref='System.Management.
ManagementPath
'/> containing
844
public
ManagementPath
Path
848
return prvpath ??=
ManagementPath
._Clone(null);
859
prvpath =
ManagementPath
._Clone((
ManagementPath
)value, new IdentifierChangedEventHandler(HandleIdentifierChange));
979
nsPath = threadParam.prvpath.SetNamespacePath(
ManagementPath
.DefaultPath.Path, out _);
System\Management\WmiEventSink.cs (1)
20
private readonly
ManagementPath
path;
System\Management\WMIGenerator.cs (2)
524
ManagementPath
thePath;
549
ManagementPath
thePath = classobj.Path;