Udostępnij przez


User.LoginType Property

Gets the type of login that is associated with the database user, such as whether it is a Windows group or a SQL Server standard login.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
<SfcPropertyAttribute> _
Public ReadOnly Property LoginType As LoginType
[SfcPropertyAttribute] 
public LoginType LoginType { get; }
[SfcPropertyAttribute] 
public:
property LoginType LoginType {
    LoginType get ();
}
/** @property */
public LoginType get_LoginType ()
public function get LoginType () : LoginType

Property Value

A LoginType object value that specifies the type of login that is associated with the database user.

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.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.