共用方式為


SPWindowsServiceCollection class

代表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

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

請參閱

參照

SPWindowsServiceCollection members

Microsoft.SharePoint.Administration namespace