Partager via


Propriété DatabaseMapping.LoginName

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property LoginName As String 
    Get
'Utilisation
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

Valeur de propriété

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

Exemples

Gestion des utilisateurs, rôles et connexions

Voir aussi

Référence

DatabaseMapping Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Principaux (moteur de base de données)