共用方式為


Login 屬性

Gets the login that is associated with the database user.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property Login As String
    Get
    Set
'用途
Dim instance As User
Dim value As String

value = instance.Login

instance.Login = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public string Login { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property String^ Login {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member Login : string with get, set
function get Login () : String
function set Login (value : String)

屬性值

型別:System. . :: . .String
A String value that specifies the login associated with the database user.