SPServer.ServiceInstances property
會取得已安裝在伺服器的服務執行個體的集合。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property ServiceInstances As SPServiceInstanceCollection
Get
'用途
Dim instance As SPServer
Dim value As SPServiceInstanceCollection
value = instance.ServiceInstances
public SPServiceInstanceCollection ServiceInstances { get; }
Property value
Type: Microsoft.SharePoint.Administration.SPServiceInstanceCollection
SPServiceInstanceCollection 物件,代表服務執行個體。