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)
Available in Sandboxed Solutions: No

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