Compartilhar via


Propriedade Login

Gets the login that is associated with the database user.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property Login As String
    Get
    Set
'Uso
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)

Valor da propriedade

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