SPWebService.DefaultDatabaseUsername property

Gets or sets the default username to use for new content databases when using SQL authentication.

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

Syntax

'Declaration
Public Property DefaultDatabaseUsername As String
    Get
    Set
'Usage
Dim instance As SPWebService
Dim value As String

value = instance.DefaultDatabaseUsername

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

Property value

Type: System.String
A string containing the username.

See also

Reference

SPWebService class

SPWebService members

Microsoft.SharePoint.Administration namespace