A Sandcastle Documented Class Library

# ScheduleRule DeleteOccurrence Method

Deletes the occurrence from the Occurrences collection.

Namespace: Dundas.BI.Scheduling
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public bool DeleteOccurrence(
    	DateTime occurrence
    )

    Public Function DeleteOccurrence (
    	occurrence As DateTime
    ) As Boolean

    public:
    bool DeleteOccurrence(
    	DateTime occurrence
    )

    member DeleteOccurrence :
            occurrence : DateTime -> bool

#### Parameters

occurrence
  Type: System
  DateTime
  The occurrence.

#### Return Value

Type: Boolean
if the occurrence was successfully removed; otherwise,
. This method also returns
if the item was not found in the Occurrences collection.
See Also

#### Reference

ScheduleRule Class
Dundas.BI.Scheduling Namespace
ScheduleRule
Occurrences