How to change the Custom Timer Job's title after initial deployment
-
03-10-2020 - |
Domanda
I created a SharePoint Custom Timer Job in Visual Studio 2012 following the steps given in this article by Ravi Rachchh. It works fine.
However, I wanted to change the Title
of the Timer Job. So I changed the below given line in the constructor.
this.Title = "MNM's Test Timer Job";
However after re-deploying and activating the Feature. The Central Admin Job Definitions page shows the old Title
.
What Am I missing here?
Soluzione
You can use PowerShell for changing Title
$t = get-sptimerjob | where { $_.Title -eq "MNM's Test Timer Job" }
$t.Title = "New MNM's Test Timer Job"
$t.Update()
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange