Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets name of the server on which the job is running.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
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.