共用方式為


SPServiceApplicationCollection class

代表包含與服務相關聯的應用程式的集合。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPPersistedObjectCollection<SPServiceApplication>
    Microsoft.SharePoint.Administration.SPPersistedChildCollection<SPServiceApplication>
      Microsoft.SharePoint.Administration.SPServiceApplicationCollection

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

Syntax

'宣告
<GuidAttribute("4DB7B1AA-D0ED-459E-A37A-42BD393DFFFC")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPServiceApplicationCollection _
    Inherits SPPersistedChildCollection(Of SPServiceApplication)
'用途
Dim instance As SPServiceApplicationCollection
[GuidAttribute("4DB7B1AA-D0ED-459E-A37A-42BD393DFFFC")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPServiceApplicationCollection : SPPersistedChildCollection<SPServiceApplication>

備註

SPService類別之Applications屬性會傳回此類別的執行個體。

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.

請參閱

參照

SPServiceApplicationCollection members

Microsoft.SharePoint.Administration namespace

Applications

SPServiceApplication