共用方式為


WindowsLoginAccessType 列舉

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SqlEnum (在 Microsoft.SqlServer.SqlEnum.dll 中)

語法

'宣告
Public Enumeration WindowsLoginAccessType
'用途
Dim instance As WindowsLoginAccessType
public enum WindowsLoginAccessType
public enum class WindowsLoginAccessType
type WindowsLoginAccessType
public enum WindowsLoginAccessType

成員

成員名稱 說明
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.

備註

The WindowsLoginAccessType enumeration class is served by the WindowsLoginAccessType property.