PrepAway - Latest Free Exam Questions & Answers

Which base class constructor should you use at line 02?

You have a timer job that has the following constructors. (Line numbers are included for reference
only.) 01 public TimerJob1 () : base() { } 02 public TimerJob1(SPWebApplication wApp) You need
to ensure that the timer job runs on the first available timer server only. Which base class
constructor should you use at line 02?

PrepAway - Latest Free Exam Questions & Answers

A.
public TimerJob1(SPWebApplication wApp):base (“TimerJob1”, wApp, null,

SPJobLockType.None) { }

B.
public TimerJob1(SPWebApplication wApp) : base (null, wApp, null,
SPJobLockType.ContentDatabase) { }

C.
public TimerJob1(SPWebApplication wApp): base (null, wApp, null, SPJobLockType.Job){ }

D.
public TimerJob1(SPWebApplication wApp):base (null, wApp, null, SPJobLockType.None) { }


Leave a Reply