SPDatabase.Username Property
Gets or sets the user name that is used for SQL authentication login.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Property Username As String
Get
Set
'Usage
Dim instance As SPDatabase
Dim value As String
value = instance.Username
instance.Username = value
public string Username { get; set; }
Property Value
Type: System.String
A string that contains the user name.