Partilhar via


ActivityEventsCollection.Remove Method

Removes the specified ActivityEvent from the collection, but not from the database.

Namespace:  Microsoft.Office.Server.ActivityFeed
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Sub Remove ( _
    activityEvent As ActivityEvent _
)
'Usage
Dim instance As ActivityEventsCollection
Dim activityEvent As ActivityEvent

instance.Remove(activityEvent)
public void Remove(
    ActivityEvent activityEvent
)

Parameters

Remarks

Use this method for security trimming. The specified ActivityEvent is disposed and becomes unusable.

See Also

Reference

ActivityEventsCollection Class

ActivityEventsCollection Members

Microsoft.Office.Server.ActivityFeed Namespace