مشاركة عبر


Login.WindowsLoginAccessType Property

Gets the type of Windows logon access.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property WindowsLoginAccessType As WindowsLoginAccessType 
    Get
'Usage
Dim instance As Login 
Dim value As WindowsLoginAccessType 

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.WindowsLoginAccessType
A WindowsLoginAccessType object value that specifies the type of Windows logon access.

Examples

Managing Users, Roles, and Logins

See Also

Reference

Login Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Principals (Database Engine)

CREATE LOGIN (Transact-SQL)