Partilhar via


SPSchedule.FromString Method

Creates a schedule object from the specified recurrence string.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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