PublishingCatalogUtility.UnPublishCatalog method
Specifies a list or library to stop sharing as a publishing catalog..
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Shared Sub UnPublishCatalog ( _
list As SPList _
)
'Usage
Dim list As SPListPublishingCatalogUtility.UnPublishCatalog(list)
public static void UnPublishCatalog(
SPList list
)
Parameters
list
Type: Microsoft.SharePoint.SPListThe list or library to unpublish.
Remarks
If a list or library is unpublished, it will no longer be available for subscription and it will no longer be accessible anonymously from search. Unpublishing a catalog impacts portals that render catalog content to anonymous users.
See also
Reference
PublishingCatalogUtility class