Click to Rate and Give Feedback
MSDN
MSDN Library
Office Development
SDK Documentation
PublishingWeb Class
 Close Method
PublishingWeb.Close Method (Microsoft.SharePoint.Publishing)
Closes the wrapped SPWeb object if it was instantiated internally.

Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in microsoft.sharepoint.publishing.dll)

Visual Basic (Declaration)
Public Sub Close
Visual Basic (Usage)
Dim instance As PublishingWeb

instance.Close
C#
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.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker