다음을 통해 공유


UserName 속성

Gets the database user that is mapped to the login in the database.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute> _
Public ReadOnly Property UserName As String
    Get
‘사용 방법
Dim instance As DatabaseMapping
Dim value As String

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

속성 값

유형: System. . :: . .String
A String value that specifies the database user.