共用方式為


SPServiceInstanceCollection constructor

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

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 SPServiceInstanceCollection(server)
public SPServiceInstanceCollection(
    SPServer server
)

參數

請參閱

參照

SPServiceInstanceCollection class

SPServiceInstanceCollection members

Microsoft.SharePoint.Administration namespace