Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves or sets the name of the scheduled task to associate with the job.
Namespace: Microsoft.Storage
Assembly: srmlib (in srmlib.dll)
Syntax
string Task { get; set; }
property String^ Task {
String^ get();
void set(String^ value);
}
abstract Task : string with get, set
Property Task As String
Property Value
Type: System.String
Returns a String containing a unique task name. The string is limited to 230 characters.
Remarks
Typically, the name is the same name that you specify when you call the IFsrmReportScheduler:: CreateScheduleTask method to create a scheduled task that runs the job.
The command that you specify for the scheduled job is C:\Windows\System32\Storrept.exe. The arguments that you specify for Storrept.exe are "FileMgmt Run /Scheduled /Task:taskname", where taskname is the value of this property.
See Also
IFsrmFileManagementJob Interface
Microsoft.Storage Namespace
Return to top