SqlSystem.loginDSN Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the open database connectivity (ODBC) data source name (DSN) used to connect to the database.
public:
virtual System::String ^ loginDSN();
public virtual string loginDSN ();
abstract member loginDSN : unit -> string
override this.loginDSN : unit -> string
Public Overridable Function loginDSN () As String
Returns
The name of the ODBC data source name that is used for connecting to the database.
Remarks
The default DSN is "BMSDSN".
The following example demonstrates the loginDSN method.
{
SqlSystem SqlSystem = new SqlSystem();
print SqlSystem.loginDSN();
}