OdbcDsnInfo IsWindowsAuthentication Method CleanCode C# Libraries v1.2.03 API
Determines whether the specified DSN name uses Windows authentication or not.

Namespace: CleanCode.Data
Assembly: CleanCode (in CleanCode.dll) Version: 1.2.3.0 (1.2.03)
Syntax

public static bool IsWindowsAuthentication(
	string dsnName
)

Return Value

For a DSN referencing a SQL Server database, returns true iff it uses windows authentication. For a DSN referencing Oracle or MySql, it always returns false. Anything else (e.g. excel, access, etc.) returns true.
See Also