ActiveDirectorySubnet Class
The ActiveDirectorySubnet class represents a subnet in a Forest.
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
| Name | Description | |
|---|---|---|
![]() | ActiveDirectorySubnet(DirectoryContext^, String^) | Initializes an instance of the ActiveDirectorySubnet class, using the specified DirectoryContext object and subnet name. |
![]() | ActiveDirectorySubnet(DirectoryContext^, String^, String^) | Initializes an instance of the ActiveDirectorySubnet class, using the specified DirectoryContext object, subnet name, and site name. |
| Name | Description | |
|---|---|---|
![]() | Delete() | Deletes the subnet that is represented by this ActiveDirectorySubnet object. |
![]() | Dispose() | Releases all resources that are used by the ActiveDirectorySubnet object. |
![]() | Dispose(Boolean) | Releases the unmanaged resources that are used by the ActiveDirectorySubnet object and optionally releases the managed resources. |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() ![]() | FindByName(DirectoryContext^, String^) | Returns a subnet that is based on a subnet name. |
![]() | GetDirectoryEntry() | Gets the DirectoryEntry object for this ActiveDirectorySubnet object. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | Save() | Writes any changes to the ActiveDirectorySubnet object to the Active Directory Domain Services store. |
![]() | ToString() | Returns the name of the subnet.(Overrides Object::ToString().) |
Demand value: LinkDemand
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



