在C#中我寫的......如何更新Active Directory中的計算機對象上的managedBy屬性?
DirectoryEntry computer = GetComputer();
computer.Properties["managedBy"].Value = null;
computer.CommitChanges();
當我打這個電話來的CommitChanges(),它拋出一個COM異常
A constraint violation occurred. (Exception from HRESULT: 0x8007202F)
東西是錯誤的設置 「的ManagedBy」 屬性設置爲null,但你還清除財產?
接受的答覆,沒有投票??? – benPearce 2009-09-16 23:56:43