Share via


AudienceCollection.Remove Method (Guid)

Removes the Audience object with the specified globally unique identifier (GUID) from the collection.

Namespace:  Microsoft.Office.Server.Audience
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
Public Sub Remove ( _
    AudienceGuid As Guid _
)
'Usage
Dim instance As AudienceCollection
Dim AudienceGuid As Guid

instance.Remove(AudienceGuid)
public void Remove(
    Guid AudienceGuid
)

Parameters

Remarks

The Remove method fails if the user is not a member of the Administrator site group.

See Also

Reference

AudienceCollection Class

AudienceCollection Members

Remove Overload

Microsoft.Office.Server.Audience Namespace