SPServiceInstanceDependencyCollection 类
表示服务依赖的服务实例的集合。
继承层次结构
System.Object
Microsoft.SharePoint.Administration.SPPersistedObjectCollection<SPServiceInstance>
Microsoft.SharePoint.Administration.SPPersistedDependencyCollection<SPServiceInstance>
Microsoft.SharePoint.Administration.SPServiceInstanceDependencyCollection
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<GuidAttribute("B679C814-3031-4e2b-90E3-736EA3D978F7")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPServiceInstanceDependencyCollection _
Inherits SPPersistedDependencyCollection(Of SPServiceInstance)
用法
Dim instance As SPServiceInstanceDependencyCollection
[GuidAttribute("B679C814-3031-4e2b-90E3-736EA3D978F7")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPServiceInstanceDependencyCollection : SPPersistedDependencyCollection<SPServiceInstance>
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。