Share via


SPContentDatabase.Server property

Gets the name of the database server that contains the content database.

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

Syntax

'Declaration
Public ReadOnly Property Server As String
    Get
'Usage
Dim instance As SPContentDatabase
Dim value As String

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

Property value

Type: System.String
A string that contains the name of the server.

See also

Reference

SPContentDatabase class

SPContentDatabase members

Microsoft.SharePoint.Administration namespace