Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

PublishingWeb.Close method

Closes the wrapped SPWeb object if it was instantiated internally.

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
public void Close()

To close the underlying wrapped SPWeb object, call the Close method instead of this one. This method only closes the underlying SPWeb if it was instantiated internally.

After calling this method, you should call the Update method to save changes.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.