共用方式為


SPServiceApplicationCollection Class

Represents a collection that contains the applications that are associated with a service.

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)
Available in Sandboxed Solutions: No

Syntax

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

Remarks

An instance of this class is returned by the Applications property of the SPService class.

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.

See Also

Reference

SPServiceApplicationCollection Members

Microsoft.SharePoint.Administration Namespace

Applications

SPServiceApplication