Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ActiveDirectorySubnet Class

 

The ActiveDirectorySubnet class represents a subnet in a Forest.

Namespace:   System.DirectoryServices.ActiveDirectory
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

System::Object
  System.DirectoryServices.ActiveDirectory::ActiveDirectorySubnet

[DirectoryServicesPermissionAttribute(SecurityAction::LinkDemand, 
	Unrestricted = true)]
public ref class ActiveDirectorySubnet : IDisposable

NameDescription
System_CAPS_pubmethodActiveDirectorySubnet(DirectoryContext^, String^)

Initializes an instance of the ActiveDirectorySubnet class, using the specified DirectoryContext object and subnet name.

System_CAPS_pubmethodActiveDirectorySubnet(DirectoryContext^, String^, String^)

Initializes an instance of the ActiveDirectorySubnet class, using the specified DirectoryContext object, subnet name, and site name.

NameDescription
System_CAPS_pubpropertyLocation

Gets or sets the location description of the ActiveDirectorySubnet object.

System_CAPS_pubpropertyName

Gets the subnet name of the ActiveDirectorySubnet object.

System_CAPS_pubpropertySite

Gets or sets the site that the ActiveDirectorySubnet object is a member of.

NameDescription
System_CAPS_pubmethodDelete()

Deletes the subnet that is represented by this ActiveDirectorySubnet object.

System_CAPS_pubmethodDispose()

Releases all resources that are used by the ActiveDirectorySubnet object.

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources that are used by the ActiveDirectorySubnet object and optionally releases the managed resources.

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticFindByName(DirectoryContext^, String^)

Returns a subnet that is based on a subnet name.

System_CAPS_pubmethodGetDirectoryEntry()

Gets the DirectoryEntry object for this ActiveDirectorySubnet object.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSave()

Writes any changes to the ActiveDirectorySubnet object to the Active Directory Domain Services store.

System_CAPS_pubmethodToString()

Returns the name of the subnet.(Overrides Object::ToString().)

.NET Framework
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.

Return to top
Show:
© 2017 Microsoft