Class WindowsAdvancedAuditPolicyCategoryCollection
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a collection of Windows advanced audit policy categories.
public class WindowsAdvancedAuditPolicyCategoryCollection : Collection<WindowsAdvancedAuditPolicyCategory>, IList<WindowsAdvancedAuditPolicyCategory>, ICollection<WindowsAdvancedAuditPolicyCategory>, IList, ICollection, IReadOnlyList<WindowsAdvancedAuditPolicyCategory>, IReadOnlyCollection<WindowsAdvancedAuditPolicyCategory>, IEnumerable<WindowsAdvancedAuditPolicyCategory>, IEnumerable
- Inheritance
-
WindowsAdvancedAuditPolicyCategoryCollection
- Implements
- Inherited Members
Constructors
WindowsAdvancedAuditPolicyCategoryCollection()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsAdvancedAuditPolicyCategoryCollection class.
public WindowsAdvancedAuditPolicyCategoryCollection()
Methods
Add(string)
Adds a new CENTREL.XIA.Configuration.Types.WindowsAdvancedAuditPolicyCategory to the collection.
public void Add(string guid)
Parameters
guid
stringThe unique identifier of the category.
FindById(string)
Returns the category with the specified identifier, or null if no category with that identifier is found.
public WindowsAdvancedAuditPolicyCategory FindById(string guid)
Parameters
guid
stringThe identifier of the category to locate in GUID format.
Returns
- WindowsAdvancedAuditPolicyCategory
The category with the specified identifier.
FindSubcategoryById(string)
Returns the subcategory with the specified identifier regardless of the category in which it resides, or null if no subcategory with that identifier is found.
public WindowsAdvancedAuditPolicySubcategory FindSubcategoryById(string guid)
Parameters
guid
stringThe identifier of the subcategory to locate in GUID format.
Returns
- WindowsAdvancedAuditPolicySubcategory
The subcategory with the specified identifier.
Sort()
Sorts the categories in the collection and all subcategories within them.
public void Sort()