CleanCode C# Libraries v0.9.23 API

OdbcDsnInfo Members

OdbcDsnInfo overview

Public Static Properties

AllDsnNames Reads the local user/system DSN registry entries and returns a sorted list of Data Source Names.
AllDsnElements Reads the local user/system DSN registry entries and returns a Dictionary with keys of Data Source Names and values being the driver type.

Public Static Methods

GetDriver Gets the driver name associated with the specified Data Source Name. Looks for it first within the current user registry settings; if not found, then looks within the current machine registry settings.
IsOracle Determines whether the specified DSN driver is Oracle.
IsSqlServer Determines whether the specified DSN driver is SQL Server.
IsWindowsAuthentication Determines whether the specified DSN name uses Windows authentication or not.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

See Also

OdbcDsnInfo Class | CleanCode.Data Namespace