Поделиться через


Свойство DBName

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

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute> _
Public ReadOnly Property DBName As String
    Get
'Применение
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

Значение свойства

Тип: System. . :: . .String
A String value that specifies the name of the database.