共用方式為


ICertificationAuthorities::Remove 方法(certenroll.h)

Remove 方法會依索引編號從集合中移除 ICertificationAuthority 物件。

語法

HRESULT Remove(
  [in] LONG Index
);

參數

[in] Index

包含要移除之物件的索引 LONG 變數。

傳回值

如果函式成功,函式會傳回 S_OK

如果函式失敗,它會傳回指出錯誤的 HRESULT 值。 如需常見錯誤碼的清單,請參閱 一般 HRESULT 值

要求

要求 價值
最低支援的用戶端 Windows 7 [僅限傳統型應用程式]
支援的最低伺服器 Windows Server 2008 R2 [僅限傳統型應用程式]
目標平臺 窗戶
標頭 certenroll.h

另請參閱

ICertificationAuthorities

ICertificationAuthority