Share via


SPWindowsServiceCollection Class

Represents a collection of SPWindowsService objects.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPPersistedObjectCollection<SPWindowsService>
    Microsoft.SharePoint.Administration.SPPersistedChildCollection<SPWindowsService>
      Microsoft.SharePoint.Administration.SPWindowsServiceCollection

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<GuidAttribute("9D73F8B1-3198-4f86-BCC9-22C1DE8D05B7")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPWindowsServiceCollection _
    Inherits SPPersistedChildCollection(Of SPWindowsService)
'Usage
Dim instance As SPWindowsServiceCollection
[GuidAttribute("9D73F8B1-3198-4f86-BCC9-22C1DE8D05B7")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPWindowsServiceCollection : SPPersistedChildCollection<SPWindowsService>

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

SPWindowsServiceCollection Members

Microsoft.SharePoint.Administration Namespace