BigcommerceConnection Constructor(String)
Initializes a new instance of the
BigcommerceConnection class when given a string containing the connection string.
The following example creates and opens a
BigcommerceConnection.
public void CreateBigcommerceConnection()
{
string myConnString =
"Server=https://bigcommerce-store.mybigcommerce.com/api/v2/;User Id=User;Authentication Token=qweASDzcx1234567890rtyuiqweASDzcx1234567;";
BigcommerceConnection bigcommerceConnection = new BigcommerceConnection(myConnString);
bigcommerceConnection.Open();
//Do something
bigcommerceConnection.Close();
}
Public Sub CreateBigcommerceConnection()
Dim myConnString As String = _
"Server=https://bigcommerce-store.mybigcommerce.com/api/v2/;User Id=User;Authentication Token=qweASDzcx1234567890rtyuiqweASDzcx1234567;"
Dim bigcommerceConnection As New BigcommerceConnection(myConnString)
bigcommerceConnection.Open()
'Do something
bigcommerceConnection.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