SPServiceInstance.Service 属性
获取拥有此服务实例的服务。
命名空间: Microsoft.SharePoint.Administration
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public ReadOnly Property Service As SPService
Get
用法
Dim instance As SPServiceInstance
Dim value As SPService
value = instance.Service
public SPService Service { get; }
属性值
类型:Microsoft.SharePoint.Administration.SPService
SPService 对象,该对象表示的服务。