Share via


SqlSystem.loginDSN Method

Retrieves the open database connectivity (ODBC) data source name (DSN) used to connect to the database.

Syntax

public str loginDSN()

Run On

Server

Return Value

Type: str
The name of the ODBC data source name that is used for connecting to the database.

Remarks

The default DSN is "BMSDSN".

Examples

{ 
    SqlSystem SqlSystem = new SqlSystem(); 
    print SqlSystem.loginDSN(); 
}

See Also

Reference

SqlSystem Class