共用方式為


SPWindowsService.ProcessIdentity property

取得 Windows 服務處理序身分識別。

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

Syntax

'宣告
Public ReadOnly Property ProcessIdentity As SPProcessIdentity
    Get
'用途
Dim instance As SPWindowsService
Dim value As SPProcessIdentity

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

Property value

Type: Microsoft.SharePoint.Administration.SPProcessIdentity
表示處理序身分識別的SPProcessIdentity物件。

請參閱

參照

SPWindowsService class

SPWindowsService members

Microsoft.SharePoint.Administration namespace