Online Training On SharePoint
                      
Showing posts with label interview question on SharePoint 2007. Show all posts
Showing posts with label interview question on SharePoint 2007. Show all posts

Question on SPSite and SPWeb Object

Question 132: What is the correct action to take when using the SPSite or SPWeb object in the Web Part Code:

a.Open the object in the context of the user

b.Call the Dispose() method once we finished it using or instantiate it in a Using statement

c.Call IISReset()when you need exclusive access to the SPSite or SPWeb Objects

d.Call SPDispose to ensure all underlying COM objects are disposed.

Check Answer