Share via


SPRunningJob.ServerName property

Gets name of the server on which the job is running.

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

Syntax

'Declaration
Public ReadOnly Property ServerName As String
    Get
'Usage
Dim instance As SPRunningJob
Dim value As String

value = instance.ServerName
public string ServerName { get; }

Property value

Type: System.String
A String that represents the name of the server on which the job is running.

Remarks

Provides metadata that may be presented in usage reports, logging data, or farm tuning at a server level or service level.

See also

Reference

SPRunningJob class

SPRunningJob members

Microsoft.SharePoint.Administration namespace

SPServer