SiteCollection.RemoveAt(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從位於指定集合索引的網站集合中移除網站。
public:
void RemoveAt(int index);
public void RemoveAt (int index);
override this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)
參數
- index
- Int32
要從集合中移除的網站索引。
備註
物件 Site 會在呼叫期間從記憶體中的集合中移除。 不過,若要將月臺設定認可至組態系統,您必須使用 ServerManager 類別來執行更新。