18 instantiations of ManagementScope
System.Management (14)
managementclass.cs (1)
267 : base (new ManagementScope(scope), new ManagementPath(path), options) {}
managementeventwatcher.cs (3)
188string query) : this(new ManagementScope(scope), new EventQuery(query), null) {} 202EventWatcherOptions options) : this(new ManagementScope(scope), new EventQuery(query), options) {} 589Scope = new ManagementScope ();
managementobject.cs (7)
424this.scope = new ManagementScope(nsPath); 459: this(new ManagementScope(scopeString), new ManagementPath(pathString), options) {} 575Scope = new ManagementScope(nsPath); 1771destinationScope = new ManagementScope(path, scope); 1904destinationScope = new ManagementScope(path, scope); 2609scope = new ManagementScope(nsPath); 2613scope = new ManagementScope();
managementobjectsearcher.cs (2)
139this(new ManagementScope(scope), new ObjectQuery(queryString), null) {} 183this(new ManagementScope(scope), new ObjectQuery(queryString), options) {}
managementscope.cs (1)
760ManagementScope scopeTmp = new ManagementScope(null, null, null);
WsatConfig (2)
Configuration\RemoteHelper.cs (1)
37managementScope = new ManagementScope("\\\\" + machineName + "\\root\\cimv2", co);
Configuration\StdRegProviderWrapper.cs (1)
94ManagementScope managementScope = new ManagementScope("\\\\" + machineName + "\\root\\DEFAULT", co);
WsatUI (2)
Configuration\RemoteHelper.cs (1)
37managementScope = new ManagementScope("\\\\" + machineName + "\\root\\cimv2", co);
Configuration\StdRegProviderWrapper.cs (1)
94ManagementScope managementScope = new ManagementScope("\\\\" + machineName + "\\root\\DEFAULT", co);
103 references to ManagementScope
System.Management (99)
managementbaseobject.cs (1)
296ManagementScope scope)
managementclass.cs (6)
72 newClass.scope = ManagementScope._Clone(mgObj.scope); 115 ManagementScope scope) 121 newClass.scope = ManagementScope._Clone(scope); 143 public ManagementClass() : this ((ManagementScope)null, (ManagementPath)null, null) {} 221 /// <param name='scope'>A <see cref='System.Management.ManagementScope'/> that specifies the scope (server and namespace) where the WMI class resides. </param> 241 public ManagementClass(ManagementScope scope, ManagementPath path, ObjectGetOptions options)
managementeventwatcher.cs (11)
117private ManagementScope scope; 143public ManagementEventWatcher() : this((ManagementScope)null, null, null) {} 173/// <param name='scope'>A <see cref='System.Management.ManagementScope'/> object representing the scope (namespace) in which the watcher will listen for events.</param> 176ManagementScope scope, 210/// <param name='scope'>A <see cref='System.Management.ManagementScope'/> object representing the scope (namespace) in which the watcher will listen for events.</param> 214ManagementScope scope, 219this.scope = ManagementScope._Clone(scope, new IdentifierChangedEventHandler(HandleIdentifierChange)); 221this.scope = ManagementScope._Clone(null, new IdentifierChangedEventHandler(HandleIdentifierChange)); 284public ManagementScope Scope 294ManagementScope oldScope = scope; 295scope = (ManagementScope)value.Clone ();
managementobject.cs (16)
74internal ManagementScope scope; 160newObject.scope = ManagementScope._Clone(mgObj.scope); 182ManagementScope scope) 190newObject.scope = ManagementScope._Clone(scope, new IdentifierChangedEventHandler(newObject.HandleIdentifierChange)); 231public ManagementObject() : this ((ManagementScope)null, null, null) {} 339/// <param name='scope'>A <see cref='System.Management.ManagementScope'/> representing the scope in which the WMI object resides. In this version, scopes can only be WMI namespaces.</param> 373public ManagementObject(ManagementScope scope, ManagementPath path, ObjectGetOptions options) 379void ManagementObjectCTOR(ManagementScope scope, ManagementPath path, ObjectGetOptions options) 418this.scope = ManagementScope._Clone(scope, new IdentifierChangedEventHandler(HandleIdentifierChange)); 475/// <para> A <see cref='System.Management.ManagementScope'/>.</para> 503public ManagementScope Scope 508return scope = ManagementScope._Clone(null); 519scope = ManagementScope._Clone((ManagementScope)value, new IdentifierChangedEventHandler(HandleIdentifierChange)); 1768ManagementScope destinationScope = null; 1902ManagementScope destinationScope = null;
managementobjectcollection.cs (4)
63internal ManagementScope scope; 78ManagementScope scope, 88this.scope = (ManagementScope)scope.Clone (); 90this.scope = ManagementScope._Clone(null);
managementobjectsearcher.cs (11)
21/// query represented in an <see cref='System.Management.ObjectQuery'/> or it's derivatives, and optionally a <see cref='System.Management.ManagementScope'/> representing the WMI namespace 68private ManagementScope scope; 87public ManagementObjectSearcher() : this((ManagementScope)null, null, null) {} 145/// <param name='scope'>A <see cref='System.Management.ManagementScope'/> representing the scope in which to invoke the query.</param> 161public ManagementObjectSearcher(ManagementScope scope, ObjectQuery query) : this(scope, query, null) {} 189/// <param name='scope'>A <see cref='System.Management.ManagementScope'/> specifying the scope of the query</param> 204public ManagementObjectSearcher(ManagementScope scope, ObjectQuery query, EnumerationOptions options) 206this.scope = ManagementScope._Clone(scope); 244public ManagementScope Scope 253scope = (ManagementScope) value.Clone (); 497scope = ManagementScope._Clone(null);
managementoperationwatcher.cs (3)
215ManagementScope scope, 255ManagementScope scope, 279ManagementScope scope,
managementscope.cs (39)
712/// <para> Gets or sets a value indicating whether the <see cref='System.Management.ManagementScope'/> is currently bound to a 721/// explicitly calls <see cref='System.Management.ManagementScope.Connect'/>(), or uses the scope for any 750internal ManagementScope (ManagementPath path, ManagementScope scope) 753internal static ManagementScope _Clone(ManagementScope scope) 755return ManagementScope._Clone(scope, null); 758internal static ManagementScope _Clone(ManagementScope scope, IdentifierChangedEventHandler handler) 760ManagementScope scopeTmp = new ManagementScope(null, null, null); 807/// of the <see cref='System.Management.ManagementScope'/> class. 810/// <para>Initializes a new instance of the <see cref='System.Management.ManagementScope'/> class, with default values. This is the 833/// <para>Initializes a new instance of the <see cref='System.Management.ManagementScope'/> class representing 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> 847/// <para>Initializes a new instance of the <see cref='System.Management.ManagementScope'/> class representing the specified scope 850/// <param name='path'>The server and namespace path for the <see cref='System.Management.ManagementScope'/>.</param> 859/// <para>Initializes a new instance of the <see cref='System.Management.ManagementScope'/> class representing the specified scope path, 862/// <param name='path'>The server and namespace for the <see cref='System.Management.ManagementScope'/>.</param> 879/// <para>Initializes a new instance of the <see cref='System.Management.ManagementScope'/> class representing the specified scope path, 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> 967/// <para>Gets or sets the path for the <see cref='System.Management.ManagementScope'/>.</para> 1013/// <para>A new copy of the <see cref='System.Management.ManagementScope'/>.</para> 1015public ManagementScope Clone() 1017return ManagementScope._Clone(this); 1033/// <para>Connects this <see cref='System.Management.ManagementScope'/> to the actual WMI 1116ManagementScope threadParam = (ManagementScope) o ; 1195private ManagementScope scope; 1196internal SecuredIEnumWbemClassObjectHandler (ManagementScope theScope, IEnumWbemClassObject pEnumWbemClassObject) 1248private ManagementScope scope; 1250internal SecuredConnectHandler (ManagementScope theScope) 1299private ManagementScope scope; 1300internal SecuredIWbemServicesHandler (ManagementScope theScope, IWbemServices pWbemServiecs) 1551private ManagementScope scope; 1553internal SecurityHandler (ManagementScope theScope) 1649if ((sourceType == typeof(ManagementScope))) 1693if (value is ManagementScope && destinationType == typeof(InstanceDescriptor)) 1695ManagementScope obj = ((ManagementScope)(value)); 1696ConstructorInfo ctor = typeof(ManagementScope).GetConstructor(new Type[] {typeof(System.String)});
wmieventsink.cs (8)
28private ManagementScope scope; 40static ManagementScope scopeParameter; 48ManagementScope scope, 81ManagementScope scope, 103this.scope = (ManagementScope) scope.Clone (); 267static ManagementScope scopeParameter; 275ManagementScope scope, 307ManagementScope scope,
WsatConfig (2)
Configuration\RemoteHelper.cs (1)
22ManagementScope managementScope;
Configuration\StdRegProviderWrapper.cs (1)
94ManagementScope managementScope = new ManagementScope("\\\\" + machineName + "\\root\\DEFAULT", co);
WsatUI (2)
Configuration\RemoteHelper.cs (1)
22ManagementScope managementScope;
Configuration\StdRegProviderWrapper.cs (1)
94ManagementScope managementScope = new ManagementScope("\\\\" + machineName + "\\root\\DEFAULT", co);