DatabaseMapping.UserName Property

 

Gets the database user that is mapped to the login in the database.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string UserName { get; }

Property Value

Type: System.String

A String value that specifies the database user.

Return to top
Show: