ActiveDirectorySite Members

The ActiveDirectorySite class defines a set of domain controllers that are well-connected in terms of speed and cost. A site object consists of a set of one or more IP subnets.

The following tables list the members exposed by the ActiveDirectorySite type.

  Name Description
Public method ActiveDirectorySite Initializes a new instance of the ActiveDirectorySite class, using the specified DirectoryContext object.
Top

  Name Description
Public property AdjacentSites Gets a read-only collection of sites that are connected through a common site link with this site object.
Public property BridgeheadServers Gets a read-only collection of bridgehead servers for this site.
Public property Domains Gets all domains in the site.
Public property InterSiteTopologyGenerator Gets or sets the directory server that serves as the inter-site topology generator.
Public property IntraSiteReplicationSchedule Gets or sets the default setting for the replication schedule for the site.
Public property Location Gets or sets the location of the site.
Public property Name Gets the name of the site.
Public property Options Gets or sets the site options.
Public property PreferredRpcBridgeheadServers Returns a collection of directory servers that are designated as preferred bridgehead servers for the RPC transport.
Public property PreferredSmtpBridgeheadServers Returns a collection of directory servers that are designated as preferred bridgehead servers for the SMTP transport.
Public property Servers Returns a read-only collection of directory servers in the site.
Public property SiteLinks Gets a read-only collection of site links that involve this site.
Public property Subnets Returns a writable collection of subnets in the site.
Top

(see also Protected Methods )
  Name Description
Public method Delete Deletes the current site.
Public method Dispose Overloaded. Releases the resources used by the object.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Static FindByName Returns a site based on a site name.
Public method Static GetComputerSite Gets the site that this computer is a member of.
Public method GetDirectoryEntry Gets the DirectoryEntry object for this site.
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Save Writes any changes to the object to the Active Directory store.
Public method ToString Overridden. Returns the name of the site.
Top

  Name Description
Protected method Dispose Overloaded. Releases the resources used by the object.
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top

Community Additions

ADD
Show: