'Declaration Public Function New( _ ByVal connectionString As String _ )
public ExactTargetConnection( string connectionString )
Parameters
- connectionString
- The connection used to connect to ExactTarget.
'Declaration Public Function New( _ ByVal connectionString As String _ )
public ExactTargetConnection( string connectionString )
public void CreateExactTargetConnection() { string myConnString = "user=MyCompanyAdmin;password=mypassword;url=https://webservice.s7.exacttarget.com/Service.asmx;"; ExactTargetConnection exactTargetConnection = new ExactTargetConnection(myConnString); exactTargetConnection.Open(); //Do something exactTargetConnection.Close(); }
Public Sub CreateExactTargetConnection() Dim myConnString As String = _ "user=MyCompanyAdmin;password=mypassword;url=https://webservice.s7.exacttarget.com/Service.asmx;" Dim exactTargetConnection As New ExactTargetConnection(myConnString) exactTargetConnection.Open() 'Do something exactTargetConnection.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