Set Sharepoint Timer job description

06/10/2015 13:56

Usually we want to set not only custom timer job title, but also description. When to try to set it, you will find out it is read only property. Solution is to override this read only property as following


public class MyCustomJobDefinition : SPJobDefinition
{
    public override string Description
    {
        get
        {
            return "This is my custom description";
        }
    }
}