共用方式為


SPServiceApplication.ServiceInstances property

取得主控此服務應用程式服務執行個體的清單。

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

Syntax

'宣告
Public Overridable ReadOnly Property ServiceInstances As SPPersistedObjectCollection(Of SPServiceInstance)
    Get
'用途
Dim instance As SPServiceApplication
Dim value As SPPersistedObjectCollection(Of SPServiceInstance)

value = instance.ServiceInstances
public virtual SPPersistedObjectCollection<SPServiceInstance> ServiceInstances { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPPersistedObjectCollection<SPServiceInstance>
服務執行個體的清單。

請參閱

參照

SPServiceApplication class

SPServiceApplication members

Microsoft.SharePoint.Administration namespace