MagentoConnection Constructor(String)
Initializes a new instance of the
MagentoConnection class when given a string containing the connection string.
The following example creates and opens a
MagentoConnection.
public void CreateMagentoConnection()
{
string myConnString =
"domain=192.168.10.68/magento;user=Test;apikey=testpassword;";
MagentoConnection adobe commerceConnection = new MagentoConnection(myConnString);
adobe commerceConnection.Open();
//Do something
adobe commerceConnection.Close();
}
Public Sub CreateMagentoConnection()
Dim myConnString As String = _
"domain=192.168.10.68/magento;user=Test;apikey=testpassword;"
Dim adobe commerceConnection As New MagentoConnection(myConnString)
adobe commerceConnection.Open()
'Do something
adobe commerceConnection.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