O'Reilly logo

Sams Teach Yourself SharePoint® 2010 Development in 24 Hours by Vinu Santhakumari, Manpreet Singh, Sohail Sayed

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A Brief Look at Sandboxed Solution Restrictions

As stated earlier, only a restricted subset of the SharePoint object model is available to sandboxed solutions. These restrictions reduce the risk of badly written custom code from destabilizing the farm. The allowed subset of the object model includes

Microsoft.SharePoint namespace, except SPSite constructor, SPSecurity object, SPWorkItem and SPWorkItemCollection, SPAlertCollection.Add, SPAlertTemplateCollection.Add, SPUserSolution and SPUserSolutionCollection, and SPTransformUtilities

Microsoft.SharePoint.Navigation namespace

Microsoft.SharePoint.Utilities namespace, except SPUtility.SendEmail and SPUtility.GetNTFullNameandEmailFromLogin

Microsoft.SharePoint.Workflow namespace

Microsoft.SharePoint.WebPartPages ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required