다음을 통해 공유


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.UserProfiles (in Microsoft.Office.Server.UserProfiles.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

    The GUID for an audience.

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