مشاركة عبر


WindowsLoginAccessType Enumeration

The WindowsLoginAccessType enumeration contains constant values that specify the type of access a Windows login has to the instance of SQL Server.

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

Syntax

'Declaration
Public Enumeration WindowsLoginAccessType
'Usage
Dim instance As WindowsLoginAccessType
public enum WindowsLoginAccessType
public enum class WindowsLoginAccessType
type WindowsLoginAccessType
public enum WindowsLoginAccessType

Members

Member name Description
Deny Value = 2. Access to the instance of SQL Server is denied.
Grant Value = 1. Access to the instance of SQL Server is granted.
NonNTLogin Value = 99. Access to the instance of SQL Server is not obtained by using Windows Authentication.
Undefined Value = 0. Access to the instance of SQL Server is undefined.

Remarks

The WindowsLoginAccessType enumeration class is served by the WindowsLoginAccessType property.