Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DatabaseMapping.DBName Property

 

Applies To: SQL Server 2016 Preview

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)

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.Matrix)]
public string DBName { get; }

Property Value

Type: System.String

A String value that specifies the name of the database.

Return to top
Show:
© 2015 Microsoft