The class contains attributes that allow alerts to be categorized.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
SQL Server Agent categories provide optional attributes that are used to distinguish groups of jobs.
With the object, you can:
Create groupings for jobs.
The category name must be unique.
To get object properties, users must be a member of SQLAgentUserRole database role on the MSDB database or be a member of the sysadmin fixed server role.
To set object properties, users must be a member of the sysadmin fixed server role.
To create or drop a job category, users must be a member of the sysadmin fixed server role.
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.