Share via


SPDatabase.Server property

Gets the server that contains the database.

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

Syntax

public SPServer Server { get; }

Property value

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

See also

Reference

SPDatabase class

SPDatabase members

Microsoft.SharePoint.Administration namespace