SPWindowsService.ProcessIdentity Property
Gets the process identity that represents the Internet Information Services (IIS) application pool and Windows service account for the Windows service.
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
An SPProcessIdentity object that represents the process identity.