Compartir a través de


DatabaseMapping.DBName Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property DBName As String 
    Get
'Uso
Dim instance As DatabaseMapping 
Dim value As String 

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

Valor de la propiedad

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

Ejemplos

Administrar usuarios, roles e inicios de sesión

Vea también

Referencia

DatabaseMapping Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Entidades de seguridad (motor de base de datos)