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)

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

Property Value

Type: System.String

A String value that specifies the name of the database.

Return to top
Show: