SPServiceInstance.Server property

Gets the server on which the service instance is installed.

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

Syntax

'Declaration
Public ReadOnly Property Server As SPServer
    Get
'Usage
Dim instance As SPServiceInstance
Dim value As SPServer

value = instance.Server
public SPServer Server { get; }

Property value

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

See also

Reference

SPServiceInstance class

SPServiceInstance members

Microsoft.SharePoint.Administration namespace