摘要: Add-PsSnapin Microsoft.SharePoint.PowerShellAdd-PsSnapin Microsoft.SharePoint.PowerShell运行一下就好了 阅读全文
posted @ 2013-01-23 20:00 山之子 阅读(282) 评论(0) 推荐(0) 编辑
摘要: How to debug a Custom Timer Job in Visual Studio?Set Breakpoints in your code especially the Execute() method. Click on "Attach to Process..." from the menu bar as shown below:Check the box at the bottom "Show Processes from All Users".Select OWSTIMER.EXE Click the Attach button 阅读全文
posted @ 2013-01-23 11:55 山之子 阅读(121) 评论(0) 推荐(0) 编辑
摘要: ProblemThis article deals with SharePoint Custom Timer jobs. It outlines when to create Custom Timer Jobs, how to create a Custom Timer Job, how to debug it in Visual Studio and how to deploy it.SolutionWhen to Create Custom Timer Job?1) If you have a task which has to be done at a scheduled time on 阅读全文
posted @ 2013-01-23 11:53 山之子 阅读(390) 评论(0) 推荐(0) 编辑