18 instantiations of ManagementScope
System.Management (14)
managementclass.cs (1)
267
: base (new
ManagementScope
(scope), new ManagementPath(path), options) {}
managementeventwatcher.cs (3)
188
string query) : this(new
ManagementScope
(scope), new EventQuery(query), null) {}
202
EventWatcherOptions options) : this(new
ManagementScope
(scope), new EventQuery(query), options) {}
589
Scope = new
ManagementScope
();
managementobject.cs (7)
424
this.scope = new
ManagementScope
(nsPath);
459
: this(new
ManagementScope
(scopeString), new ManagementPath(pathString), options) {}
575
Scope = new
ManagementScope
(nsPath);
1771
destinationScope = new
ManagementScope
(path, scope);
1904
destinationScope = new
ManagementScope
(path, scope);
2609
scope = new
ManagementScope
(nsPath);
2613
scope = new
ManagementScope
();
managementobjectsearcher.cs (2)
139
this(new
ManagementScope
(scope), new ObjectQuery(queryString), null) {}
183
this(new
ManagementScope
(scope), new ObjectQuery(queryString), options) {}
managementscope.cs (1)
760
ManagementScope scopeTmp = new
ManagementScope
(null, null, null);
WsatConfig (2)
Configuration\RemoteHelper.cs (1)
37
managementScope = new
ManagementScope
("\\\\" + machineName + "\\root\\cimv2", co);
Configuration\StdRegProviderWrapper.cs (1)
94
ManagementScope managementScope = new
ManagementScope
("\\\\" + machineName + "\\root\\DEFAULT", co);
WsatUI (2)
Configuration\RemoteHelper.cs (1)
37
managementScope = new
ManagementScope
("\\\\" + machineName + "\\root\\cimv2", co);
Configuration\StdRegProviderWrapper.cs (1)
94
ManagementScope managementScope = new
ManagementScope
("\\\\" + machineName + "\\root\\DEFAULT", co);
103 references to ManagementScope
System.Management (99)
managementbaseobject.cs (1)
296
ManagementScope
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)
117
private
ManagementScope
scope;
143
public 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>
176
ManagementScope
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>
214
ManagementScope
scope,
219
this.scope =
ManagementScope
._Clone(scope, new IdentifierChangedEventHandler(HandleIdentifierChange));
221
this.scope =
ManagementScope
._Clone(null, new IdentifierChangedEventHandler(HandleIdentifierChange));
284
public
ManagementScope
Scope
294
ManagementScope
oldScope = scope;
295
scope = (
ManagementScope
)value.Clone ();
managementobject.cs (16)
74
internal
ManagementScope
scope;
160
newObject.scope =
ManagementScope
._Clone(mgObj.scope);
182
ManagementScope
scope)
190
newObject.scope =
ManagementScope
._Clone(scope, new IdentifierChangedEventHandler(newObject.HandleIdentifierChange));
231
public 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>
373
public ManagementObject(
ManagementScope
scope, ManagementPath path, ObjectGetOptions options)
379
void ManagementObjectCTOR(
ManagementScope
scope, ManagementPath path, ObjectGetOptions options)
418
this.scope =
ManagementScope
._Clone(scope, new IdentifierChangedEventHandler(HandleIdentifierChange));
475
/// <para> A <see cref='System.Management.
ManagementScope
'/>.</para>
503
public
ManagementScope
Scope
508
return scope =
ManagementScope
._Clone(null);
519
scope =
ManagementScope
._Clone((
ManagementScope
)value, new IdentifierChangedEventHandler(HandleIdentifierChange));
1768
ManagementScope
destinationScope = null;
1902
ManagementScope
destinationScope = null;
managementobjectcollection.cs (4)
63
internal
ManagementScope
scope;
78
ManagementScope
scope,
88
this.scope = (
ManagementScope
)scope.Clone ();
90
this.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
68
private
ManagementScope
scope;
87
public 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>
161
public 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>
204
public ManagementObjectSearcher(
ManagementScope
scope, ObjectQuery query, EnumerationOptions options)
206
this.scope =
ManagementScope
._Clone(scope);
244
public
ManagementScope
Scope
253
scope = (
ManagementScope
) value.Clone ();
497
scope =
ManagementScope
._Clone(null);
managementoperationwatcher.cs (3)
215
ManagementScope
scope,
255
ManagementScope
scope,
279
ManagementScope
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
750
internal ManagementScope (ManagementPath path,
ManagementScope
scope)
753
internal static
ManagementScope
_Clone(
ManagementScope
scope)
755
return
ManagementScope
._Clone(scope, null);
758
internal static
ManagementScope
_Clone(
ManagementScope
scope, IdentifierChangedEventHandler handler)
760
ManagementScope
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>
1015
public
ManagementScope
Clone()
1017
return
ManagementScope
._Clone(this);
1033
/// <para>Connects this <see cref='System.Management.
ManagementScope
'/> to the actual WMI
1116
ManagementScope
threadParam = (
ManagementScope
) o ;
1195
private
ManagementScope
scope;
1196
internal SecuredIEnumWbemClassObjectHandler (
ManagementScope
theScope, IEnumWbemClassObject pEnumWbemClassObject)
1248
private
ManagementScope
scope;
1250
internal SecuredConnectHandler (
ManagementScope
theScope)
1299
private
ManagementScope
scope;
1300
internal SecuredIWbemServicesHandler (
ManagementScope
theScope, IWbemServices pWbemServiecs)
1551
private
ManagementScope
scope;
1553
internal SecurityHandler (
ManagementScope
theScope)
1649
if ((sourceType == typeof(
ManagementScope
)))
1693
if (value is
ManagementScope
&& destinationType == typeof(InstanceDescriptor))
1695
ManagementScope
obj = ((
ManagementScope
)(value));
1696
ConstructorInfo ctor = typeof(
ManagementScope
).GetConstructor(new Type[] {typeof(System.String)});
wmieventsink.cs (8)
28
private
ManagementScope
scope;
40
static
ManagementScope
scopeParameter;
48
ManagementScope
scope,
81
ManagementScope
scope,
103
this.scope = (
ManagementScope
) scope.Clone ();
267
static
ManagementScope
scopeParameter;
275
ManagementScope
scope,
307
ManagementScope
scope,
WsatConfig (2)
Configuration\RemoteHelper.cs (1)
22
ManagementScope
managementScope;
Configuration\StdRegProviderWrapper.cs (1)
94
ManagementScope
managementScope = new ManagementScope("\\\\" + machineName + "\\root\\DEFAULT", co);
WsatUI (2)
Configuration\RemoteHelper.cs (1)
22
ManagementScope
managementScope;
Configuration\StdRegProviderWrapper.cs (1)
94
ManagementScope
managementScope = new ManagementScope("\\\\" + machineName + "\\root\\DEFAULT", co);