Share via


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)

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