Compartilhar via


SPWindowsService.ProcessIdentity Property

Gets the process identity for the Windows service.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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