Share via


SPSchedule.FromString method

Creates a schedule object from the specified recurrence string.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Function FromString ( _
    recurrenceValue As String _
) As SPSchedule
'Usage
Dim recurrenceValue As String
Dim returnValue As SPSchedule

returnValue = SPSchedule.FromString(recurrenceValue)
public static SPSchedule FromString(
    string recurrenceValue
)

Parameters

  • recurrenceValue
    Type: System.String

    A string that expresses the recurrence.

Return value

Type: Microsoft.SharePoint.SPSchedule
An SPSchedule object that represents the schedule.

See also

Reference

SPSchedule class

SPSchedule members

Microsoft.SharePoint namespace