SPWebApplicationBuilder.DatabaseUsername property

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

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

Syntax

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

value = instance.DatabaseUsername

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

Property value

Type: System.String

Remarks

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

If the DatabaseUsername property contains a null reference (Nothing in Visual Basic) or an empty string, NT LAN Manager (NTLM) is used to connect to the SQL database.

See also

Reference

SPWebApplicationBuilder class

SPWebApplicationBuilder members

Microsoft.SharePoint.Administration namespace