Condividi tramite


Proprietà DBName

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute> _
Public ReadOnly Property DBName As String
    Get
'Utilizzo
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

Valore proprietà

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