SalesforceParameterCollection Class
Collects all parameters relevant to a
SalesforceCommand as well as their respective mappings to
System.Data.DataSet columns.
The following example adds instance of
SalesforceParameter to collection.
public void AddSalesforceParameters()
{
// Create salesforceConnection and salesforceCommand.
salesforceCommand.CommandText = "DELETE Account WHERE Name = :Name";
salesforceCommand.Parameters.Add("Name", SalesforceType.Int).Value = "GenePoint";
salesforceCommand.ExecuteNonQuery();
}
Public Sub AddSalesforceParameters()
' Create salesforceConnection and salesforceCommand.
salesforceCommand.CommandText = "DELETE Account WHERE Name = :Name"
salesforceCommand.Parameters.Add("Name", SalesforceType.Int).Value = "GenePoint"
salesforceCommand.ExecuteNonQuery()
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