Export (0) Print
Expand All

DatabaseMapping.DBName Property


Gets the name of the database in which the login is mapped to the database user.

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

public string DBName { get; }

Property Value

Type: System.String

A String value that specifies the name of the database.

Return to top
© 2016 Microsoft