SPWindowsServiceCollection 类
表示SPWindowsService对象的集合。
继承层次结构
System.Object
Microsoft.SharePoint.Administration.SPPersistedObjectCollection<SPWindowsService>
Microsoft.SharePoint.Administration.SPPersistedChildCollection<SPWindowsService>
Microsoft.SharePoint.Administration.SPWindowsServiceCollection
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<GuidAttribute("9D73F8B1-3198-4f86-BCC9-22C1DE8D05B7")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPWindowsServiceCollection _
Inherits SPPersistedChildCollection(Of SPWindowsService)
用法
Dim instance As SPWindowsServiceCollection
[GuidAttribute("9D73F8B1-3198-4f86-BCC9-22C1DE8D05B7")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPWindowsServiceCollection : SPPersistedChildCollection<SPWindowsService>
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。