SPServiceInstance.Server Property

Gets the server on which the service instance is installed.

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


Public ReadOnly Property Server As SPServer
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


SPServiceInstance Class

SPServiceInstance Members

Microsoft.SharePoint.Administration Namespace