SPDatabaseParameters.Username property

Gets the username to use for the database connection.

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

Syntax

'Declaration
Public ReadOnly Property Username As String
    Get
'Usage
Dim instance As SPDatabaseParameters
Dim value As String

value = instance.Username
public string Username { get; }

Property value

Type: System.String
The username to use for the database connection.

See also

Reference

SPDatabaseParameters class

SPDatabaseParameters members

Microsoft.SharePoint.Administration namespace