我不知道PowerShell是否可能.
原文链接:https://www.f2er.com/windows/371527.html但是基本上我有一个Windows Forms程序来配置一个名为EO Server的程序. EO服务器有一个API,我引用EOServerAPI.dll来运行以下代码.
using EOserverAPI; ... private void myButton_Click(object sender,EventArgs e) { String MDSConnString="Data Source=MSI;Initial Catalog=EOMDS;Integrated Security=True;"; //Create the connection IEOMDSAPI myEOMDSAPI = EOMDSAPI.Create(MDSConnString); //Get JobID Guid myMasterJobID = myEOMDSAPI.GetJobID("myJobRocks"); }