Partager via


Énumération WindowsLoginAccessType

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

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

Syntaxe

'Déclaration
Public Enumeration WindowsLoginAccessType
'Utilisation
Dim instance As WindowsLoginAccessType
public enum WindowsLoginAccessType
public enum class WindowsLoginAccessType
type WindowsLoginAccessType
public enum WindowsLoginAccessType

Membres

Nom de membre 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.

Notes

The WindowsLoginAccessType enumeration class is served by the WindowsLoginAccessType property.