共用方式為


AdSyncTask Interface

 

Defines the methods that are called by the Task Scheduler service to manage a COM handler for Active Directory synchronization.

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

Syntax

[GuidAttribute("839D7762-5121-4009-9234-4F0D19394F04")]
public interface AdSyncTask : ITaskHandler
[GuidAttribute("839D7762-5121-4009-9234-4F0D19394F04")]
public interface class AdSyncTask : ITaskHandler
[<GuidAttribute("839D7762-5121-4009-9234-4F0D19394F04")>]
type AdSyncTask = 
    interface
        interface ITaskHandler
    end
<GuidAttribute("839D7762-5121-4009-9234-4F0D19394F04")>
Public Interface AdSyncTask
    Inherits ITaskHandler

Methods

Name Description
System_CAPS_pubmethod Pause()

Called to pause the COM handler. This method is optional and should only be implemented to give the Task Scheduler the ability to pause and restart the handler.(Inherited from ITaskHandler.)

System_CAPS_pubmethod Resume()

Called to resume the COM handler. This method is optional and should only be implemented to give the Task Scheduler the ability to resume the handler.(Inherited from ITaskHandler.)

System_CAPS_pubmethod Start(Object, String)

Called to start the COM handler. This method must be implemented by the handler.(Inherited from ITaskHandler.)

System_CAPS_pubmethod Stop(Int32)

Called to stop the COM handler. This method must be implemented by the handler.(Inherited from ITaskHandler.)

See Also

Microsoft.Storage Namespace

Return to top