WindowsLoginAccessType Enumeration

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

命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)

語法

'宣告
Public Enumeration WindowsLoginAccessType
public enum WindowsLoginAccessType
public enum class WindowsLoginAccessType
public enum WindowsLoginAccessType
public enum WindowsLoginAccessType

Members

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

備註

The WindowsLoginAccessType enumeration class is served by the WindowsLoginAccessType property.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

Microsoft.SqlServer.Management.Smo Namespace