SPFarm.Services property
會取得伺服器陣列中的所有服務的集合。
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public ReadOnly Property Services As SPServiceCollection
Get
'用途
Dim instance As SPFarm
Dim value As SPServiceCollection
value = instance.Services
public SPServiceCollection Services { get; }
Property value
Type: Microsoft.SharePoint.Administration.SPServiceCollection
SPServiceCollection 物件,代表伺服器陣列中的所有服務。