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
- AudienceGuid
Type: System.Guid
GUID for an audience.
Remarks
The Remove method fails if the user is not a member of the Administrator site group.