'Declaration Public Function New( _ ByVal connectionString As String _ )
public MagentoConnection( string connectionString )
Parameters
- connectionString
- The connection used to connect to Magento.
'Declaration Public Function New( _ ByVal connectionString As String _ )
public MagentoConnection( string connectionString )
public void CreateMagentoConnection() { string myConnString = "domain=192.168.10.68/magento;user=Test;apikey=testpassword;"; MagentoConnection magentoConnection = new MagentoConnection(myConnString); magentoConnection.Open(); //Do something magentoConnection.Close(); }
Public Sub CreateMagentoConnection() Dim myConnString As String = _ "domain=192.168.10.68/magento;user=Test;apikey=testpassword;" Dim magentoConnection As New MagentoConnection(myConnString) magentoConnection.Open() 'Do something magentoConnection.Close() End Sub
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2