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 应调用 方法。

适用于

另请参阅