Skip to main content

MsSqlConnectionParameters.AuthorizationType Property

Gets or sets the authentication mode of the Microsoft SQL Server.

Namespace: DevExpress.DataAccess.ConnectionParameters

Assembly: DevExpress.DataAccess.v24.1.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

public MsSqlAuthorizationType AuthorizationType { get; set; }

Property Value

Type Description
MsSqlAuthorizationType

A MsSqlAuthorizationType value that specifies the authentication mode of the Microsoft SQL Server.

Available values:

Name Description
Windows

Authenticate with a Windows user account.

SqlServer

Authenticate with a SQL server account.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AuthorizationType property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also