次の方法で共有


SPWindowsService.ProcessIdentity property

Gets the process identity for the Windows service.

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

Syntax

'Declaration
Public ReadOnly Property ProcessIdentity As SPProcessIdentity
    Get
'Usage
Dim instance As SPWindowsService
Dim value As SPProcessIdentity

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

Property value

Type: Microsoft.SharePoint.Administration.SPProcessIdentity
An SPProcessIdentity object that represents the process identity.

See also

Reference

SPWindowsService class

SPWindowsService members

Microsoft.SharePoint.Administration namespace