SPWebApplicationBuilder.DatabaseName property

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

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

Syntax

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

value = instance.DatabaseName

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

Property value

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

Remarks

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

See also

Reference

SPWebApplicationBuilder class

SPWebApplicationBuilder members

Microsoft.SharePoint.Administration namespace