SPServer.ServiceInstances 属性
获取安装在服务器上的服务实例的集合。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public ReadOnly Property ServiceInstances As SPServiceInstanceCollection
Get
用法
Dim instance As SPServer
Dim value As SPServiceInstanceCollection
value = instance.ServiceInstances
public SPServiceInstanceCollection ServiceInstances { get; }
属性值
类型:Microsoft.SharePoint.Administration.SPServiceInstanceCollection
SPServiceInstanceCollection 对象,该对象表示的服务实例。