Breyta

Deila með


ActiveDirectorySite.Subnets Property

Definition

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.

Applies to

See also