SPServiceApplication.ServiceInstances 属性
获取承载此服务应用程序的服务实例的列表。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
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; }
属性值
类型:Microsoft.SharePoint.Administration.SPPersistedObjectCollection<SPServiceInstance>
服务实例的列表。