3 writes to scope
System.Management (3)
managementobjectsearcher.cs (3)
206
this.
scope
= ManagementScope._Clone(scope);
253
scope
= (ManagementScope) value.Clone ();
497
scope
= ManagementScope._Clone(null);
19 references to scope
System.Management (19)
managementobjectsearcher.cs (19)
248
return
scope
;
324
SecurityHandler securityHandler =
scope
.GetSecurityHandler();
345
status =
scope
.GetSecuredIWbemServicesHandler(
scope
.GetIWbemServices() ).CreateInstanceEnum_(
353
status =
scope
.GetSecuredIWbemServicesHandler(
scope
.GetIWbemServices() ).CreateClassEnum_(((SelectQuery)query).ClassName,
363
status =
scope
.GetSecuredIWbemServicesHandler(
scope
.GetIWbemServices() ).ExecQuery_(
392
return new ManagementObjectCollection(
scope
, options, ew);
409
IWbemServices wbemServices =
scope
.GetIWbemServices ();
418
WmiEventSink sink = watcher.GetNewSink (
scope
, enumOptions.Context);
419
SecurityHandler securityHandler =
scope
.GetSecurityHandler();
439
status =
scope
.GetSecuredIWbemServicesHandler( wbemServices ).CreateInstanceEnumAsync_(((SelectQuery)query).ClassName,
446
status =
scope
.GetSecuredIWbemServicesHandler( wbemServices ).CreateClassEnumAsync_(((SelectQuery)query).ClassName,
456
status =
scope
.GetSecuredIWbemServicesHandler( wbemServices ).ExecQueryAsync_(
496
if (null ==
scope
)
500
lock (
scope
)
502
if (!
scope
.IsConnected)
503
scope
.Initialize();