Uses a pkg variable that is not defined. The variable for the package should be p and not pkg in the following two statements:Executable exec1 = pkg.Executables.Add("STOCK:BulkInsertTask");pkg.Execute();Minor issue in example code but learners should not have to scratch their heads over bad code in examples.
↧