共用方式為


SPWindowsServiceInstanceCollection constructor

初始化SPWindowsServiceInstanceCollection類別的新執行個體。

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Sub New ( _
    server As SPServer _
)
'用途
Dim server As SPServer

Dim instance As New SPWindowsServiceInstanceCollection(server)
public SPWindowsServiceInstanceCollection(
    SPServer server
)

參數

請參閱

參照

SPWindowsServiceInstanceCollection class

SPWindowsServiceInstanceCollection members

Microsoft.SharePoint.Administration namespace