WmiFilter Class
Contains methods and properties that allow you to set and retrieve security attributes and various properties for a WMI filter.
Namespace: Microsoft.GroupPolicy
Assembly: Microsoft.GroupPolicy.Management (in Microsoft.GroupPolicy.Management.dll)
Inheritance Hierarchy
System.Object
Microsoft.GroupPolicy.WmiFilter
Syntax
public sealed class WmiFilter : IEquatable<WmiFilter>
public ref class WmiFilter sealed : IEquatable<WmiFilter^>
[<Sealed>]
type WmiFilter =
class
interface IEquatable<WmiFilter>
end
Public NotInheritable Class WmiFilter
Implements IEquatable(Of WmiFilter)
Properties
Name | Description | |
---|---|---|
Description | Gets the description of the WMI filter. |
|
Name | Gets the name of the WMI filter. |
|
Path | Gets the WMI path to the WMI filter. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Equals(WmiFilter) | Determines whether the specified WMI filter is equal to this WMI filter. |
|
GetHashCode() | (Inherited from Object.) |
|
GetQueryList() | Retrieves the query list stored in the WMI filter. |
|
GetSecurityInfo() | Retrieves the list of permissions for the WMI filter. |
|
GetType() | (Inherited from Object.) |
|
SetSecurityInfo(GPPermissionCollection) | Sets permissions for the current WMI filter for the specified trustees. |
|
ToString() | (Inherited from Object.) |
Remarks
WMI filter queries are specified using WMI Query Language (WQL).
This class wraps the IGPMWMIFilter COM interface.
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Gpo
GPDomain
WmiFilterCollection
Microsoft.GroupPolicy Namespace
Return to top