43 instantiations of ManagementPath
System.Management (39)
managementbaseobject.cs (1)
463
ManagementPath classPath = new
ManagementPath
();
managementclass.cs (5)
118
newClass.path = new
ManagementPath
(ManagementPath.GetManagementPath(wbemObject));
176
public ManagementClass(string path) : this(null, new
ManagementPath
(path), null) {}
215
: this(null, new
ManagementPath
(path), options) {}
267
: base (new ManagementScope(scope), new
ManagementPath
(path), options) {}
825
ManagementPath path = new
ManagementPath
();
managementobject.cs (19)
187
newObject.path = new
ManagementPath
(ManagementPath.GetManagementPath(wbemObject));
275
public ManagementObject(string path) : this(null, new
ManagementPath
(path), null) {}
333
this(new
ManagementPath
(path), options) {}
401
path = new
ManagementPath
(path.RelativePath);
459
: this(new ManagementScope(scopeString), new
ManagementPath
(pathString), options) {}
569
ManagementPath newPath = (null != value) ? value : new
ManagementPath
();
715
ManagementPath classPath = new
ManagementPath
();
1583
newPath = new
ManagementPath
(scope.Path.Path);
1595
newPath = new
ManagementPath
((string)pathValue);
1602
newPath = new
ManagementPath
(scope.Path.Path);
1614
newPath = new
ManagementPath
();
1740
return CopyTo(new
ManagementPath
(path), (PutOptions)null);
1753
return CopyTo(new
ManagementPath
(path), options);
1875
CopyTo(watcher, new
ManagementPath
(path), null);
1886
CopyTo(watcher, new
ManagementPath
(path), options);
2592
path = new
ManagementPath
();
2625
scope.Path = new
ManagementPath
(nsPath);
2691
path = (System.DBNull.Value != val) ? (new
ManagementPath
((string)val)) : (new
ManagementPath
());
managementpath.cs (4)
76
private static ManagementPath defaultPath = new
ManagementPath
("//./root/cimv2");
159
ManagementPath pathTmp = new
ManagementPath
();
219
return new
ManagementPath
(Path);
557
ManagementPath newPath = new
ManagementPath
(relPath);
managementquery.cs (4)
673
ManagementPath p = new
ManagementPath
(queryOrClassName);
1271
ManagementPath p = new
ManagementPath
(queryOrSourceObject);
1897
ManagementPath p = new
ManagementPath
(queryOrSourceObject);
2483
ManagementPath p = new
ManagementPath
(queryOrEventClassName);
managementscope.cs (3)
825
this (new
ManagementPath
(ManagementPath.DefaultPath.Path))
857
public ManagementScope (string path) : this(new
ManagementPath
(path), (ConnectionOptions)null) {}
876
public ManagementScope (string path, ConnectionOptions options) : this (new
ManagementPath
(path), options) {}
wmieventsink.cs (1)
93
this.path = new
ManagementPath
(path);
WmiGenerator.cs (2)
559
thePath = new
ManagementPath
(OriginalPath);
564
thePath = new
ManagementPath
();
WsatConfig (2)
Configuration\RemoteHelper.cs (1)
39
ManagementPath path = new
ManagementPath
("Win32_Process");
Configuration\StdRegProviderWrapper.cs (1)
95
ManagementPath managementPath = new
ManagementPath
("StdRegProv");
WsatUI (2)
Configuration\RemoteHelper.cs (1)
39
ManagementPath path = new
ManagementPath
("Win32_Process");
Configuration\StdRegProviderWrapper.cs (1)
95
ManagementPath managementPath = new
ManagementPath
("StdRegProv");
125 references to ManagementPath
System.Management (121)
managementbaseobject.cs (3)
422
/// <para>A <see cref='System.Management.
ManagementPath
'/> that represents the path to the management object's class.</para>
429
public virtual
ManagementPath
ClassPath
463
ManagementPath
classPath = new ManagementPath();
managementclass.cs (12)
74
ManagementPath
objPath = mgObj.Path;
77
newClass.path =
ManagementPath
._Clone(objPath);
118
newClass.path = new ManagementPath(
ManagementPath
.GetManagementPath(wbemObject));
143
public ManagementClass() : this ((ManagementScope)null, (
ManagementPath
)null, null) {}
150
/// <param name='path'>A <see cref='System.Management.
ManagementPath
'/> specifying which WMI class to bind to.</param>
163
public ManagementClass(
ManagementPath
path) : this(null, path, null) {}
182
/// <param name='path'>A <see cref='System.Management.
ManagementPath
'/> representing the WMI class path.</param>
196
public ManagementClass(
ManagementPath
path, ObjectGetOptions options) : this(null, path, options) {}
222
/// <param name=' path'>A <see cref='System.Management.
ManagementPath
'/> that represents the path to the WMI class in the specified scope.</param>
241
public ManagementClass(ManagementScope scope,
ManagementPath
path, ObjectGetOptions options)
293
public override
ManagementPath
Path
825
ManagementPath
path = new ManagementPath();
managementeventargs.cs (7)
13
private
ManagementPath
path;
15
internal InternalObjectPutEventArgs (
ManagementPath
path)
20
internal
ManagementPath
Path {
151
private
ManagementPath
wmiPath;
162
ManagementPath
path
173
/// <para>A <see cref='System.Management.
ManagementPath
'/> containing the path of the object that has
176
public
ManagementPath
Path
managementobject.cs (45)
75
internal
ManagementPath
path;
163
newObject.path =
ManagementPath
._Clone(mgObj.path);
187
newObject.path = new ManagementPath(
ManagementPath
.GetManagementPath(wbemObject));
236
/// object path. The path is provided as a <see cref='System.Management.
ManagementPath
'/>.</para>
238
/// <param name='path'>A <see cref='System.Management.
ManagementPath
'/> that contains a path to a WMI object.</param>
247
public ManagementObject(
ManagementPath
path) : this(null, path, null) {}
257
/// default namespace is the <see cref='System.Management.
ManagementPath
.DefaultPath'/>
281
/// <param name='path'>A <see cref='System.Management.
ManagementPath
'/> containing the WMI path.</param>
305
public ManagementObject(
ManagementPath
path, ObjectGetOptions options) : this(null, path, options) {}
340
/// <param name=' path'>A <see cref='System.Management.
ManagementPath
'/> representing the WMI path to the manageable object.</param>
348
/// path is specified, then the scope will default to the local machine's <see cref='System.Management.
ManagementPath
.DefaultPath'/>. </para>
373
public ManagementObject(ManagementScope scope,
ManagementPath
path, ObjectGetOptions options)
379
void ManagementObjectCTOR(ManagementScope scope,
ManagementPath
path, ObjectGetOptions options)
408
this.path =
ManagementPath
._Clone(path, new IdentifierChangedEventHandler(HandleIdentifierChange));
411
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
563
return path =
ManagementPath
._Clone(null);
569
ManagementPath
newPath = (null != value) ? value : new ManagementPath();
585
path =
ManagementPath
._Clone((
ManagementPath
)value, new IdentifierChangedEventHandler(HandleIdentifierChange));
655
/// <para>A <see cref='System.Management.
ManagementPath
'/> representing the path to the object's
673
public override
ManagementPath
ClassPath
715
ManagementPath
classPath = new ManagementPath();
1452
/// <para>A <see cref='System.Management.
ManagementPath
'/> containing the path to the committed
1455
public
ManagementPath
Put()
1469
/// A <see cref='System.Management.
ManagementPath
'/> containing the path to the committed object.
1471
public
ManagementPath
Put(PutOptions options)
1473
ManagementPath
newPath = null;
1564
private
ManagementPath
GetPath(IWbemCallResult callResult)
1566
ManagementPath
newPath = null;
1722
/// <param name='path'>The <see cref='System.Management.
ManagementPath
'/> to which the object should be copied. </param>
1726
public
ManagementPath
CopyTo(
ManagementPath
path)
1738
public
ManagementPath
CopyTo(string path)
1751
public
ManagementPath
CopyTo(string path, PutOptions options)
1759
/// <param name='path'>The <see cref='System.Management.
ManagementPath
'/> to which the object should be copied.</param>
1764
public
ManagementPath
CopyTo(
ManagementPath
path, PutOptions options)
1776
ManagementPath
newPath = null;
1862
/// <param name='path'>A <see cref='System.Management.
ManagementPath
'/> specifying the path to which the object should be copied.</param>
1863
public void CopyTo(ManagementOperationObserver watcher,
ManagementPath
path)
1895
public void CopyTo(ManagementOperationObserver watcher,
ManagementPath
path, PutOptions options)
2472
ManagementPath
classPath = ClassPath;
2627
scope.Path =
ManagementPath
.DefaultPath;
managementobjectsearcher.cs (2)
126
/// <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
managementpath.cs (22)
76
private static
ManagementPath
defaultPath = new ManagementPath("//./root/cimv2");
152
internal static
ManagementPath
_Clone(
ManagementPath
path)
154
return
ManagementPath
._Clone(path, null);
157
internal static
ManagementPath
_Clone(
ManagementPath
path, IdentifierChangedEventHandler handler)
159
ManagementPath
pathTmp = new ManagementPath();
181
/// of the <see cref='System.Management.
ManagementPath
'/> class.
184
/// <para> Initializes a new instance of the <see cref='System.Management.
ManagementPath
'/> class that is empty. This is the default constructor.</para>
189
/// <para>Initializes a new instance of the <see cref='System.Management.
ManagementPath
'/> class for the given path.</para>
204
/// <see cref='System.Management.
ManagementPath
.Path'/> property.
212
/// <para>Returns a copy of the <see cref='System.Management.
ManagementPath
'/>.</para>
217
public
ManagementPath
Clone ()
241
public static
ManagementPath
DefaultPath
243
get { return
ManagementPath
.defaultPath; }
244
set {
ManagementPath
.defaultPath = value; }
557
ManagementPath
newPath = new ManagementPath (relPath);
1059
if ((sourceType == typeof(
ManagementPath
)))
1103
if (value is
ManagementPath
&& destinationType == typeof(InstanceDescriptor))
1105
ManagementPath
obj = ((
ManagementPath
)(value));
1106
ConstructorInfo ctor = typeof(
ManagementPath
).GetConstructor(new Type[] {typeof(System.String)});
managementquery.cs (4)
673
ManagementPath
p = new ManagementPath (queryOrClassName);
1271
ManagementPath
p = new ManagementPath (queryOrSourceObject);
1897
ManagementPath
p = new ManagementPath (queryOrSourceObject);
2483
ManagementPath
p = new ManagementPath (queryOrEventClassName);
managementscope.cs (23)
614
private
ManagementPath
validatedPath;
650
private
ManagementPath
prvpath
661
if (!
ManagementPath
.IsValidNamespaceSyntax(pathValue))
735
internal ManagementScope (
ManagementPath
path, IWbemServices wbemServices,
750
internal ManagementScope (
ManagementPath
path, ManagementScope scope)
773
scopeTmp.prvpath =
ManagementPath
._Clone(
ManagementPath
.DefaultPath, new IdentifierChangedEventHandler(scopeTmp.HandleIdentifierChange));
785
scopeTmp.prvpath =
ManagementPath
._Clone(
ManagementPath
.DefaultPath, new IdentifierChangedEventHandler(scopeTmp.HandleIdentifierChange));
791
scopeTmp.prvpath =
ManagementPath
._Clone(scope.prvpath, new IdentifierChangedEventHandler(scopeTmp.HandleIdentifierChange));
825
this (new ManagementPath (
ManagementPath
.DefaultPath.Path))
836
/// <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>
844
public ManagementScope (
ManagementPath
path) : this(path, (ConnectionOptions)null) {}
882
/// <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>
900
public ManagementScope (
ManagementPath
path, ConnectionOptions options)
903
this.prvpath =
ManagementPath
._Clone(path, new IdentifierChangedEventHandler(HandleIdentifierChange));
905
this.prvpath =
ManagementPath
._Clone(null);
970
/// <para> A <see cref='System.Management.
ManagementPath
'/> containing
981
public
ManagementPath
Path
986
return prvpath =
ManagementPath
._Clone(null);
999
prvpath =
ManagementPath
._Clone((
ManagementPath
)value, new IdentifierChangedEventHandler(HandleIdentifierChange));
1135
nsPath = threadParam.prvpath.SetNamespacePath(
ManagementPath
.DefaultPath.Path, out bUnused);
wmieventsink.cs (1)
33
private
ManagementPath
path;
WmiGenerator.cs (2)
556
ManagementPath
thePath;
583
ManagementPath
thePath = classobj.Path;
WsatConfig (2)
Configuration\RemoteHelper.cs (1)
39
ManagementPath
path = new ManagementPath("Win32_Process");
Configuration\StdRegProviderWrapper.cs (1)
95
ManagementPath
managementPath = new ManagementPath("StdRegProv");
WsatUI (2)
Configuration\RemoteHelper.cs (1)
39
ManagementPath
path = new ManagementPath("Win32_Process");
Configuration\StdRegProviderWrapper.cs (1)
95
ManagementPath
managementPath = new ManagementPath("StdRegProv");