Επεξεργασία

Κοινή χρήση μέσω


ActiveDirectorySubnet Class

Definition

The ActiveDirectorySubnet class represents a subnet in a Forest.

public ref class ActiveDirectorySubnet : IDisposable
public class ActiveDirectorySubnet : IDisposable
type ActiveDirectorySubnet = class
    interface IDisposable
Public Class ActiveDirectorySubnet
Implements IDisposable
Inheritance
ActiveDirectorySubnet
Implements

Constructors

ActiveDirectorySubnet(DirectoryContext, String, String)

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

ActiveDirectorySubnet(DirectoryContext, String)

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

Properties

Location

Gets or sets the location description of the ActiveDirectorySubnet object.

Name

Gets the subnet name of the ActiveDirectorySubnet object.

Site

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

Methods

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)
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()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Save()

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

ToString()

Returns the name of the subnet.

Applies to

See also