MPInterfacebInitInterface Method (String, Int32, String, String, String) |
Namespace: MARIInterface
public bool bInitInterface( string sHANAServerOrIP, int lHANAPortNumber, string sMARIProjectSchemaName, string sHANAUser, string sHANAPWD )
public void InitInterfaceHANA() { MARIInterface.MPInterface MPInterface; MPInterface = new MARIInterface.MPInterface(); if (MPInterface.bInitInterface("HANAB1VM4", 30015, "SBODEMOGTPM", "SYSTEM", "manager")) { // MARIProject user and password if (MPInterface.bUserLogin("MARINGO", "")) { // Start your code here... this.oMPInterface = MPInterface; } else { // Read results from oError Object throw new SystemException("Login failed: " + MPInterface.oErrors.PrintErrors()); } } else { // Read results from oError Object throw new SystemException("Login failed: " + MPInterface.oErrors.PrintErrors()); } }