Condividi tramite


IFsrmReportScheduler.ModifyScheduleTask Method (String, Object, String)

 

Modifies a task that is used to trigger a report job.

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)

Syntax

void ModifyScheduleTask(
    string taskName,
    [InAttribute] ref object namespacesSafeArray,
    string serializedTask
)
void ModifyScheduleTask(
    String^ taskName,
    [InAttribute] Object^% namespacesSafeArray,
    String^ serializedTask
)
abstract ModifyScheduleTask : 
        taskName:string *
        namespacesSafeArray:Object byref *
        serializedTask:string -> unit
Sub ModifyScheduleTask (
    taskName As String,
    <InAttribute> ByRef namespacesSafeArray As Object,
    serializedTask As String
)

Parameters

  • taskName
    Type: System.String

    The name of a Task Scheduler task to modify. The string is limited to 230 characters.

  • namespacesSafeArray
    Type: System.Object

    A VARIANT that contains a SAFEARRAY of local directory paths to verify (see Remarks). Each element of the array is a variant of type VT_BSTR. Use the bstrVal member of the variant to set the path.

  • serializedTask
    Type: System.String

    An XML string that defines the Task Scheduler job. For details, see Task Scheduler Schema.

Remarks

Specify the same namespaces for this method that you specified for the NamespaceRoots property. This method validates the namespace paths. For validation details, see the Remarks section of VerifyNamespaces.

See Also

FsrmReportScheduler
IFsrmReportScheduler Interface
Microsoft.Storage Namespace

Return to top