Delete Method

Deletes the specified object from the object it's contained in.

expression.Delete

expression    An expression that returns a Discussion or DiscussionServer object.

Remarks

When you use the Delete method to remove a discussion item from a DiscussionServer object, any replies to the discussion item are automatically promoted to the level of the deleted item.

Example

This example deletes the third discussion item from the Discussions collection. Any discussions that are descendants of the affected discussion are promoted to the level of the deleted item.

dscCurrentCollection(3).Delete