SPTimerServiceInstance class
提供在指定的伺服器執行計時器服務執行個體。此成員是保留給內部使用,而不是用來直接從您的程式碼使用
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)
Syntax
'宣告
<GuidAttribute("80A8FEC4-3AD8-4a0e-8958-BFFFD93241BD")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPTimerServiceInstance _
Inherits SPWindowsServiceInstance
'用途
Dim instance As SPTimerServiceInstance
[GuidAttribute("80A8FEC4-3AD8-4a0e-8958-BFFFD93241BD")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPTimerServiceInstance : 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.
請參閱
參照
SPTimerServiceInstance members
Microsoft.SharePoint.Administration namespace
Microsoft.SharePoint.Administration.SPWindowsServiceInstance