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: String
A String value that specifies the name of the database.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft