70-541 Microsoft Windows SharePoint Services 3.0 - Application Development
Note 1: 70-541 Exhibit and all related diagrams are not shown in demo questions.
Note 2: 70-541 Answers are not shown in demo questions.
Exhibits and Answers are only provided in the Full Version.
Note 2: 70-541 Answers are not shown in demo questions.
Exhibits and Answers are only provided in the Full Version.
Demo Question 1.
You are creating a Microsoft Windows SharePoint Services application. You create a Windows SharePoint Services feature named MyFeature. You implement the feature within a Microsoft .NET namespace named MyFeature. You create a class named SiteMonitor that inherits from the SPWebEventReceiver class. The SiteMonitor class overrides two methods, named SiteDeleting and WebDeleting. Both methods cancel the deletion process. You need to prevent all users, including site administrators, from deleting the MySite Web site. Which method should you use?
A. public void AddReceiver(SPWeb myWeb){ myWeb.EventReceivers.Add (SPEventReceiverType.WebDeleting, "M yFeatur e" , "MyFeature.SiteMonitor"); }
B. public void AddReceiver(SPWeb myWeb){ foreach (SPUser user in myWeb.AllUsers) { user.IsSiteAdmin = false; }
C. public void AddReceiver(SPWeb myWeb){ foreach (SPUser user in myWeb.SiteUsers) { user.IsSiteAdmin = false; }
D. public void AddReceiver(SPWeb myWeb){ SPFeatureProperty receiverAssembly = (SPFeatureProperty)properties.Feature.Properties["ReceiverAssembly"]; SPFeatureProperty receiverClass = (SPFeatureProperty)properties.Feature.Properties["ReceiverClass"]; receiverAssembly.Value = "MyFeature"; receiverClass.Value = "SiteMonitor"; }
Display Answer
- Based on the latest 70-541 exam objectives!
- Designed like actual 70-541 exam questions!
- 100% Verified Realistic 70-541 Exam Questions and Answers!
- Exhibits, Drag&Drop and Simulation 70-541 Questions Included!
- Constantly Updated Guide to Reflect the Current 70-541 Exams!
- Detailed Explanations for Most Guide Practice Exams!

NY, USA
I wanted to take a few minutes to thank EliteCertify for passing 3 exams towards my MCSE. ...

Demark
Took my last CCNP test last Friday. EliteCertify tests really made the difference, I passed every one on the first ...

Australia
Great thanks to EliteCertify for such excellent products! It really helped me a lot for passing 3Com 3M0-212. The practice ...








