简体   繁体   English

将参数传递给SharePoint 2013计时器作业

[英]Pass Parameters to SharePoint 2013 Timer Job

I would like to run a timer job with parameters from the UI. 我想使用UI中的参数运行计时器作业。 But how can I pass parameters from the UI if I can only press "Run now" in Timer Job Monitoring? 但是,如果我只能在“计时器作业监视”中按“立即运行”,如何从UI中传递参数? Or where can I pass them? 或者我可以在哪里传递它们?

I can not find any possibility to insert a string or number to pass a parameter via the SharePoint Website UI. 我找不到插入字符串或数字以通过SharePoint网站UI传递参数的任何可能性。

As I know its not possible pass parameter from UI. 据我所知,它不可能从UI中传递参数。 You can store the value some where like in the list and then read it in timer job. 您可以将值存储在列表中的某个位置,然后在计时器作业中读取它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM