SPTimerServiceInstance 类
提供在指定的服务器运行的计时器服务的实例。此成员仅供内部使用,不能直接在您的代码中使用。
继承层次结构
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
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<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
备注
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。
另请参阅
引用
Microsoft.SharePoint.Administration 命名空间
Microsoft.SharePoint.Administration.SPWindowsServiceInstance