AreaListing.RemoveAudience Method

NOTE: This API is now obsolete.

Removes an audience 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 RemoveAudience ( _
    OrgleID As Guid _
)
'Usage
Dim instance As AreaListing
Dim OrgleID As Guid

instance.RemoveAudience(OrgleID)
[ObsoleteAttribute("This class is obsolete.")]
public void RemoveAudience(
    Guid OrgleID
)

Parameters

  • OrgleID
    Type: System.Guid
    The identifier of the audience listing to remove from the area.

Remarks

The caller must have PortalRight.AllCategoryRights permission to perform this operation.

Modified properties are not updated in the database until you call the Update method.

See Also

Reference

AreaListing Class

AreaListing Members

Microsoft.SharePoint.Portal.SiteData Namespace