Click or drag to resize
Task Scheduler Managed Class Library

TaskSchedulerSnapshot Methods

The TaskSchedulerSnapshot type exposes the following members.

Methods
 NameDescription
Public methodStatic memberCreate(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.
Note  Note
This method can take many seconds to execute. It is recommended to call the asynchronous version.
Caution note  Caution
This method will execute without error even if the user does not have permissions to see all tasks and folders. It is imperative that the developer ensures that the user has Administrator or equivalent rights before calling this method.
Public methodStatic memberCreate(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.
Caution note  Caution
This method will execute without error even if the user does not have permissions to see all tasks and folders. It is imperative that the developer ensures that the user has Administrator or equivalent rights before calling this method.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStatic memberOpenOpens an existing snapshot and returns a new instance of TaskSchedulerSnapshot.
Public methodRestore(TaskService, ICollectionSnapshotItem, Boolean, Boolean, IDictionaryString, String)Register a list of snapshot items (tasks and folders) into the specified Task Scheduler.
Public methodRestore(TaskServiceConnectionToken, ICollectionSnapshotItem, Boolean, Boolean, IDictionaryString, String, CancellationToken, IProgressTupleInt32, String)Register a list of snapshot items (tasks and folders) into the specified Task Scheduler.
Public methodRestore(TaskServiceConnectionToken, IEnumerableString, Boolean, Boolean, IDictionaryString, String, CancellationToken, IProgressTupleInt32, String)Register a list of snapshot items (tasks and folders) into the specified Task Scheduler.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also