Share via


SPDatabaseParameters.Server property

Gets the name of the server to use for the database connection.

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

Syntax

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

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

Property value

Type: System.String
The name of the database server.

See also

Reference

SPDatabaseParameters class

SPDatabaseParameters members

Microsoft.SharePoint.Administration namespace