MagentoConnection Constructor()
Initializes a new instance of the
MagentoConnection class.
The following example creates and opens a
MagentoConnection.
|
|---|
public void CreateMagentoConnection()
{
MagentoConnection magentoConnection = new MagentoConnection();
magentoConnection.ConnectionString =
"domain=192.168.10.68/magento;user=Test;apikey=testpassword;";
magentoConnection.Open();
//Do something
magentoConnection.Close();
} |
|
|---|
Public Sub CreateMagentoConnection()
Dim magentoConnection As New MagentoConnection()
magentoConnection.ConnectionString = _
"domain=192.168.10.68/magento;user=Test;apikey=testpassword;"
magentoConnection.Open()
'Do something
magentoConnection.Close()
End Sub |