Condividi tramite


SPTimerServiceInstance Class

Provides an instance of a timer service that runs on a specified server. This member is reserved for internal use and is not intended to be used directly from your code.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPPersistedUpgradableObject
        Microsoft.SharePoint.Administration.SPServiceInstance
          Microsoft.SharePoint.Administration.SPWindowsServiceInstance
            Microsoft.SharePoint.Administration.SPTimerServiceInstance

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<GuidAttribute("80A8FEC4-3AD8-4a0e-8958-BFFFD93241BD")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPTimerServiceInstance _
    Inherits SPWindowsServiceInstance
'Usage
Dim instance As SPTimerServiceInstance
[GuidAttribute("80A8FEC4-3AD8-4a0e-8958-BFFFD93241BD")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPTimerServiceInstance : SPWindowsServiceInstance

Remarks

Inherits from SPWindowsServiceInstance.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPTimerServiceInstance Members

Microsoft.SharePoint.Administration Namespace

Microsoft.SharePoint.Administration.SPWindowsServiceInstance