ActiveDirectorySite.Subnets Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a writable collection of subnets in the site.
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
Property Value
An ActiveDirectorySubnetCollection object that contains a writable collection of subnets in the site.
Exceptions
A call to the underlying directory service resulted in an error.
The target server is either busy or unavailable.
The object has been disposed.
Remarks
The ActiveDirectorySubnetCollection object is writable. After modification, the ActiveDirectorySite.Save method should be called.