Schedules a write-to-string operation. Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim connectionManager As ConnectionManagerBase
Dim scheduleTokens As List(Of IResultObject)
Dim returnValue As String

returnValue = ResultObjectHelpers.ScheduleWriteToString(connectionManager, scheduleTokens)

Syntax

Visual Basic
Public Shared Function ScheduleWriteToString ( _
		connectionManager As ConnectionManagerBase, _
		scheduleTokens As List(Of IResultObject) _
) As String
C#
public static string ScheduleWriteToString (
		ConnectionManagerBase connectionManager,
		List<IResultObject> scheduleTokens
)
C++
public:
static String^ ScheduleWriteToString (
		ConnectionManagerBase^ connectionManager, 
		List<IResultObject^>^ scheduleTokens
)
J#
public static String ScheduleWriteToString (
		ConnectionManagerBase connectionManager, 
		List<IResultObject> scheduleTokens
)
JScript
public static function ScheduleWriteToString (
		connectionManager : ConnectionManagerBase, 
		scheduleTokens : List<IResultObject>
) : String

Parameters

connectionManager

[in] ConnectionManagerBase object.

scheduleTokens

[in] System.Collections.Generic.List object that represents IResultObject interfaces for schedule tokens.

Return Value

Schedule string.

Exceptions

Exception type Condition
ArgumentNullException

The connectionManager parameter cannot be null

ArgumentOutOfRangeException

The schedule item could not be saved. It might be incorrectly formatted.

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 Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also