SPWindowsServiceCollection class

Representa uma coleção de objetos SPWindowsService .

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)

Syntax

'Declaração
<GuidAttribute("9D73F8B1-3198-4f86-BCC9-22C1DE8D05B7")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPWindowsServiceCollection _
    Inherits SPPersistedChildCollection(Of SPWindowsService)
'Uso
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.

Ver também

Referência

SPWindowsServiceCollection members

Microsoft.SharePoint.Administration namespace