共用方式為


SPServiceInstanceDependencyCollection class

代表一群取決於服務的服務執行個體。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPPersistedObjectCollection<SPServiceInstance>
    Microsoft.SharePoint.Administration.SPPersistedDependencyCollection<SPServiceInstance>
      Microsoft.SharePoint.Administration.SPServiceInstanceDependencyCollection

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
<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>

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.

請參閱

參照

SPServiceInstanceDependencyCollection members

Microsoft.SharePoint.Administration namespace