不可调用的成员'MicrosoftSqlServer.Management。 IntegrationServices.CatalogFolder.Projects'不能像方法一样使用

时间:2016-03-18 12:11:33

标签: c# ssis server integration

我尝试在字符串中获取值

integrationServices = new Microsoft.SqlServer.Management.IntegrationServices.IntegrationServices(new System.Data.SqlClient.SqlConnection(connectionString));

string catalog = integrationServices.Catalogs("SSISDB");   

string catalogFolder = catalog.Folders(folderName);   

string package = catalogFolder.Projects(projectName).Packages(packageName);    

executionId = package.Execute(use32BitRuntime, null); 

但即使我使用转换方法,我也会收到此错误 谢谢,

0 个答案:

没有答案