1 write to Scope
System.Management (1)
System\Management\ManagementObject.cs (1)
572
Scope
= new ManagementScope(nsPath);
28 references to Scope
System.Management (28)
System\Management\ManagementClass.cs (25)
475
securityHandler =
Scope
.GetSecurityHandler();
476
status = scope.GetSecuredIWbemServicesHandler(
Scope
.GetIWbemServices()).CreateInstanceEnum_(
492
return new ManagementObjectCollection(
Scope
, o, enumWbem);
600
WmiEventSink sink = watcher.GetNewSink(
Scope
, o.Context);
605
securityHandler =
Scope
.GetSecurityHandler();
607
status = scope.GetSecuredIWbemServicesHandler(
Scope
.GetIWbemServices()).CreateInstanceEnumAsync_(
691
securityHandler =
Scope
.GetSecurityHandler();
692
status = scope.GetSecuredIWbemServicesHandler(
Scope
.GetIWbemServices()).CreateClassEnum_(
708
return new ManagementObjectCollection(
Scope
, o, enumWbem);
752
WmiEventSink sink = watcher.GetNewSink(
Scope
, o.Context);
757
securityHandler =
Scope
.GetSecurityHandler();
759
status = scope.GetSecuredIWbemServicesHandler(
Scope
.GetIWbemServices()).CreateClassEnumAsync_(
899
newInstance = ManagementObject.GetManagementObject(newWbemInstance,
Scope
);
1042
securityHandler =
Scope
.GetSecurityHandler();
1043
status = scope.GetSecuredIWbemServicesHandler(
Scope
.GetIWbemServices()).ExecQuery_(
1065
return new ManagementObjectCollection(
Scope
, o, enumWbem);
1139
Scope
,
1150
securityHandler =
Scope
.GetSecurityHandler();
1152
status = scope.GetSecuredIWbemServicesHandler(
Scope
.GetIWbemServices()).ExecQueryAsync_(
1243
securityHandler =
Scope
.GetSecurityHandler();
1244
status = scope.GetSecuredIWbemServicesHandler(
Scope
.GetIWbemServices()).ExecQuery_(
1262
return new ManagementObjectCollection(
Scope
, o, enumWbem);
1328
WmiEventSink sink = watcher.GetNewSink(
Scope
, o.Context);
1336
securityHandler =
Scope
.GetSecurityHandler();
1338
status = scope.GetSecuredIWbemServicesHandler(
Scope
.GetIWbemServices()).ExecQueryAsync_(
System\Management\WMIGenerator.cs (3)
3452
new CodePrimitiveExpression(classobj.
Scope
.Path.NamespacePath)));
3473
new CodePrimitiveExpression(classobj.
Scope
.Path.NamespacePath)));
3632
new CodePrimitiveExpression(classobj.
Scope
.Path.NamespacePath)));