ModulePropertiesPage.Tasks Property

Definition

Gets the task list collection for the page.

protected:
 virtual property Microsoft::Web::Management::Client::TaskListCollection ^ Tasks { Microsoft::Web::Management::Client::TaskListCollection ^ get(); };
protected override Microsoft.Web.Management.Client.TaskListCollection Tasks { get; }
member this.Tasks : Microsoft.Web.Management.Client.TaskListCollection
Protected Overrides ReadOnly Property Tasks As TaskListCollection

Property Value

The task list collection for the page.

Examples

The following example sends each task list to the trace listener.

void TrcTasks() {
    TaskListCollection tlc = Tasks;

    foreach (TaskList tl in tlc) {
        Trace.WriteLine(tl.ToString());
    }
}

Applies to