SPWebApplicationBuilder.DatabaseServer property

Gets or sets the database server name and instance to be used for a new content database.

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

Syntax

'Declaration
Public Property DatabaseServer As String
    Get
    Set
'Usage
Dim instance As SPWebApplicationBuilder
Dim value As String

value = instance.DatabaseServer

instance.DatabaseServer = value
public string DatabaseServer { get; set; }

Property value

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

Remarks

If the CreateNewDatabase property equals false, the value contained by the DatabaseServer property is ignored.

See also

Reference

SPWebApplicationBuilder class

SPWebApplicationBuilder members

Microsoft.SharePoint.Administration namespace