Proprietà DatabaseMapping.LoginName

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property LoginName As String 
    Get
'Utilizzo
Dim instance As DatabaseMapping 
Dim value As String 

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

Valore proprietà

Tipo: System.String
A String value that specifies the login.

Esempi

Gestione di utenti, ruoli e account di accesso

Vedere anche

Riferimento

DatabaseMapping Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

Entità (Motore di database)