TaskSchedulerSnapshot Class |
| This class and related classes are only available under the .NET 4.5.2 build and later .NET versions due to dependencies on threading and compressed (zip) files. |
Namespace: Microsoft.Win32.TaskScheduler
The TaskSchedulerSnapshot type exposes the following members.
| Name | Description | |
|---|---|---|
| TaskSchedulerSnapshot | Creates a new instance of TaskSchedulerSnapshot from an existing snapshot. |
| Name | Description | |
|---|---|---|
| Items |
Gets a list of TaskSnapshot and TaskFolderSnapshot instances the represent the tasks and folders from a Task Scheduler instance.
| |
| Path | Gets the path of the file based snapshot. | |
| TargetServer | Gets the machine name of the server from which the snapshot was taken. | |
| TimeStamp | Gets the UTC time stamp for when the snapshot was taken. |
| Name | Description | |||||
|---|---|---|---|---|---|---|
| Create(TaskService, String) |
Creates a compressed zip file that contains all the information accessible to the user from the TaskService instance necessary to
reconstitute its tasks and folders.
| |||||
| Create(TaskServiceConnectionToken, String, CancellationToken, IProgressTupleInt32, String) |
Creates a compressed zip file that contains all the information accessible to the user from the TaskService instance necessary to
reconstitute its tasks and folders.
| |||||
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |||||
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |||||
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |||||
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |||||
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |||||
| Open | Opens an existing snapshot and returns a new instance of TaskSchedulerSnapshot. | |||||
| Restore(TaskService, ICollectionSnapshotItem, Boolean, Boolean, IDictionaryString, String) | Register a list of snapshot items (tasks and folders) into the specified Task Scheduler. | |||||
| Restore(TaskServiceConnectionToken, ICollectionSnapshotItem, Boolean, Boolean, IDictionaryString, String, CancellationToken, IProgressTupleInt32, String) | Register a list of snapshot items (tasks and folders) into the specified Task Scheduler. | |||||
| Restore(TaskServiceConnectionToken, IEnumerableString, Boolean, Boolean, IDictionaryString, String, CancellationToken, IProgressTupleInt32, String) | Register a list of snapshot items (tasks and folders) into the specified Task Scheduler. | |||||
| ToString | Returns a string that represents the current object. (Inherited from Object.) |