PrepAway - Latest Free Exam Questions & Answers

Which two actions should you perform?

You create a class that inherits the SPPersistedObject class. The class has a field named Field1.
You need to ensure that Field1 can be serialized and stored in the SharePoint configuration
database. Which two actions should you perform? (Each correct answer presents part of the
solution. Choose two)

PrepAway - Latest Free Exam Questions & Answers

A.
Mark Field1 with the [Persisted] attribute.

B.
Mark Field1 with the [Serializable] attribute.

C.
Add the default empty constructor.

D.
Set the value of the SPWeb.AllowUnsafeUpdate property.


Leave a Reply