Login.LoginType Property
Gets or sets the type of Microsoft SQL Server login account.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Declaration
Public Property LoginType As LoginType
public LoginType LoginType { get; set; }
public:
property LoginType LoginType {
LoginType get ();
void set (LoginType value);
}
/** @property */
public LoginType get_LoginType ()
/** @property */
public void set_LoginType (LoginType value)
public function get LoginType () : LoginType
public function set LoginType (value : LoginType)
Property Value
A LoginType object value that specifies the type of authentication performed on the SQL Server login account.
Remarks
The type of login specifies whether the Microsoft Windows account is a group account or a single user account in addition to the type of authentication.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Example
How to: Enumerate Logins and Associated Users in Visual Basic .NET
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
Login Class
Login Members
Microsoft.SqlServer.Management.Smo Namespace
Other Resources
Managing Users, Roles, and Logins
Principals
CREATE LOGIN (Transact-SQL)