共用方式為


SiteCollection.RemoveAt(Int32) 方法

定義

從位於指定集合索引的網站集合中移除網站。

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 類別來執行更新。

適用於