Partager via


Propriété Login.LoginType

Gets or sets the type of SQL Server login account.

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

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Property LoginType As LoginType 
    Get 
    Set
'Utilisation
Dim instance As Login 
Dim value As LoginType 

value = instance.LoginType

instance.LoginType = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public LoginType LoginType { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property LoginType LoginType {
    LoginType get ();
    void set (LoginType value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member LoginType : LoginType with get, set
function get LoginType () : LoginType 
function set LoginType (value : LoginType)

Valeur de propriété

Type : Microsoft.SqlServer.Management.Smo.LoginType
A LoginType object value that specifies the type of authentication performed on the SQL Server login account.

Notes

The type of login specifies whether the Windows account is a group account or a single user account in addition to the type of authentication.

Exemples

Gestion des utilisateurs, rôles et connexions

Voir aussi

Référence

Login Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Principaux (moteur de base de données)

CREATE LOGIN (Transact-SQL)