SPWindowsService.ProcessIdentity 属性

获取 Windows 服务的进程标识。

命名空间:  Microsoft.SharePoint.Administration
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public ReadOnly Property ProcessIdentity As SPProcessIdentity
    Get
用法
Dim instance As SPWindowsService
Dim value As SPProcessIdentity

value = instance.ProcessIdentity
public SPProcessIdentity ProcessIdentity { get; }

属性值

类型:Microsoft.SharePoint.Administration.SPProcessIdentity
SPProcessIdentity 对象,该对象表示的进程标识。

另请参阅

引用

SPWindowsService 类

SPWindowsService 成员

Microsoft.SharePoint.Administration 命名空间