SPServiceInstance.Server property

Gets the server on which the service instance is installed.

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

public SPServer Server { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPServer
An SPServer object that represents the server.
Show: