共用方式為


Login 屬性

Gets a string value that contains a log-in.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<DisplayDescriptionKeyAttribute("User_LoginDesc")> _
<DisplayNameKeyAttribute("User_LoginName")> _
ReadOnly Property Login As String
    Get
'用途
Dim instance As IUserOptions
Dim value As String

value = instance.Login
[DisplayDescriptionKeyAttribute("User_LoginDesc")]
[DisplayNameKeyAttribute("User_LoginName")]
string Login { get; }
[DisplayDescriptionKeyAttribute(L"User_LoginDesc")]
[DisplayNameKeyAttribute(L"User_LoginName")]
property String^ Login {
    String^ get ();
}
[<DisplayDescriptionKeyAttribute("User_LoginDesc")>]
[<DisplayNameKeyAttribute("User_LoginName")>]
abstract Login : string
function get Login () : String

屬性值

型別:System. . :: . .String
A string value that contains a log-in.