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.