Share via


Schedule.GetSchedule Method

Transforms a schedule XML string into a schedule object.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim scheduleXml As String
Dim returnValue As Schedule

returnValue = Schedule.GetSchedule(scheduleXml)

Syntax

'Declaration
Public Shared Function GetSchedule ( _
    scheduleXml As String _
) As Schedule
public static Schedule GetSchedule (
    string scheduleXml
)
public:
static Schedule^ GetSchedule (
    String^ scheduleXml
)
public static Schedule GetSchedule (
    String scheduleXml
)
public static function GetSchedule (
    scheduleXml : String
) : Schedule

Parameters

  • scheduleXml
    The schedule XML string.

Return Value

The schedule object.

Exceptions

Exception type Condition
ArgumentOutOfRangeException

The scheduleXml parameter does not contain any valid schedule data.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

Schedule Class
Schedule Members
Microsoft.EnterpriseManagement.Common Namespace