다음을 통해 공유


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.