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.

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

Syntax

'Declaration
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.

Remarks

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace