共用方式為


ActiveDirectorySite.Subnets 屬性

定義

傳回此站台中的子網路之可寫入集合。

public:
 property System::DirectoryServices::ActiveDirectory::ActiveDirectorySubnetCollection ^ Subnets { System::DirectoryServices::ActiveDirectory::ActiveDirectorySubnetCollection ^ get(); };
public System.DirectoryServices.ActiveDirectory.ActiveDirectorySubnetCollection Subnets { get; }
member this.Subnets : System.DirectoryServices.ActiveDirectory.ActiveDirectorySubnetCollection
Public ReadOnly Property Subnets As ActiveDirectorySubnetCollection

屬性值

ActiveDirectorySubnetCollection 物件,其中包含此站台中的子網路之可寫入集合。

例外狀況

呼叫基礎目錄服務時,發生錯誤。

目標伺服器忙碌或無法使用。

物件已被處置。

備註

對像是 ActiveDirectorySubnetCollection 可寫入的。 修改之後, ActiveDirectorySite.Save 應該呼叫 方法。

適用於

另請參閱