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 的硬件和软件要求。