Share via


SPDatabaseParameters.Username Property

Gets the username to use for the database connection.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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