AreaListingCollection.RemoveListing Method
NOTE: This API is now obsolete.
Removes an area listing from the area.
Namespace: Microsoft.SharePoint.Portal.SiteData
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public Sub RemoveListing ( _
LstID As Guid _
)
'Usage
Dim instance As AreaListingCollection
Dim LstID As Guid
instance.RemoveListing(LstID)
[ObsoleteAttribute("This class is obsolete.")]
public void RemoveListing(
Guid LstID
)
Parameters
- LstID
Type: System.Guid
The identifier of the area listing.
Remarks
The caller must have PortalRight.AllCategoryRights permission to perform this operation.
The RemoveListing method updates all the listings in this area; however, changing more than one listing at a time is not allowed. You must call the Update method when modifying multiple AreaListing objects.