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