10 writes to path
System.Management (10)
System\Management\ManagementClass.cs (2)
78
newClass.
path
= ManagementPath._Clone(objPath);
119
newClass.
path
= new ManagementPath(ManagementPath.GetManagementPath(wbemObject));
System\Management\ManagementObject.cs (8)
161
newObject.
path
= ManagementPath._Clone(mgObj.path);
185
newObject.
path
= new ManagementPath(ManagementPath.GetManagementPath(wbemObject));
407
this.
path
= ManagementPath._Clone(path, new IdentifierChangedEventHandler(HandleIdentifierChange));
410
this.
path
= ManagementPath._Clone(null, new IdentifierChangedEventHandler(HandleIdentifierChange));
562
return
path
??= ManagementPath._Clone(null);
582
path
= ManagementPath._Clone((ManagementPath)value, new IdentifierChangedEventHandler(HandleIdentifierChange));
2551
path
= new ManagementPath();
2650
path
= (System.DBNull.Value != val) ? (new ManagementPath((string)val)) : (new ManagementPath());
52 references to path
System.Management (52)
System\Management\ManagementClass.cs (1)
95
newClass.
path
.internalClassName = (string)className;
System\Management\ManagementObject.cs (51)
160
if (null != mgObj.
path
)
161
newObject.path = ManagementPath._Clone(mgObj.
path
);
186
newObject.
path
.IdentifierChanged += new IdentifierChangedEventHandler(newObject.HandleIdentifierChange);
579
if (null !=
path
)
580
path
.IdentifierChanged -= new IdentifierChangedEventHandler(HandleIdentifierChange);
772
if ((null ==
path
) || (
path
.Path.Length == 0))
785
status = scope.GetSecuredIWbemServicesHandler(scope.GetIWbemServices()).GetObject_(
path
.RelativePath,
892
if ((null ==
path
) || (
path
.Path.Length == 0))
916
status = scope.GetSecuredIWbemServicesHandler(wbemServices).GetObjectAsync_(
path
.RelativePath,
1027
if ((null ==
path
) || (
path
.Path.Length == 0))
1035
path
.Path,
1143
if ((null ==
path
) || (
path
.Path.Length == 0))
1165
RelatedObjectQuery q = new RelatedObjectQuery(
path
.Path, relatedClass,
1264
if ((null ==
path
) || (
path
.Path.Length == 0))
1271
RelationshipQuery q = new RelationshipQuery(
path
.Path, relationshipClass,
1370
if ((null ==
path
) || (
path
.Path.Length == 0))
1390
RelationshipQuery q = new RelationshipQuery(
path
.Path, relationshipClass,
1536
path
.SetRelativePath(newPath.RelativePath);
1678
path
.SetRelativePath(e.Path.RelativePath);
1946
if ((null ==
path
) || (
path
.Path.Length == 0))
1963
path
.RelativePath,
1971
path
.RelativePath,
2009
if ((null ==
path
) || (
path
.Path.Length == 0))
2032
status = scope.GetSecuredIWbemServicesHandler(wbemServices).DeleteClassAsync_(
path
.RelativePath,
2039
status = scope.GetSecuredIWbemServicesHandler(wbemServices).DeleteInstanceAsync_(
path
.RelativePath,
2132
if ((null ==
path
) || (
path
.Path.Length == 0))
2177
if ((null ==
path
) || (
path
.Path.Length == 0))
2278
if ((null ==
path
) || (
path
.Path.Length == 0))
2297
path
.RelativePath,
2343
if ((null ==
path
) || (
path
.Path.Length == 0))
2372
path
.RelativePath,
2527
if (null !=
path
)
2528
return
path
.Path;
2549
if (null ==
path
)
2552
path
.IdentifierChanged += new IdentifierChangedEventHandler(HandleIdentifierChange);
2562
string nsPath =
path
.GetNamespacePath((int)tag_WBEM_GET_TEXT_FLAGS.WBEMPATH_GET_SERVER_AND_NAMESPACE_ONLY);
2581
string nsPath =
path
.GetNamespacePath((int)tag_WBEM_GET_TEXT_FLAGS.WBEMPATH_GET_SERVER_AND_NAMESPACE_ONLY);
2625
string curPath =
path
.RelativePath;
2651
path
.IdentifierChanged += new IdentifierChangedEventHandler(HandleIdentifierChange);