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 |