Share via


Propriété DBName

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute> _
Public ReadOnly Property DBName As String
    Get
'Utilisation
Dim instance As DatabaseMapping
Dim value As String

value = instance.DBName
[SfcPropertyAttribute]
public string DBName { get; }
[SfcPropertyAttribute]
public:
property String^ DBName {
    String^ get ();
}
[<SfcPropertyAttribute>]
member DBName : string
function get DBName () : String

Valeur de propriété

Type : System. . :: . .String
A String value that specifies the name of the database.