ActiveDirectorySite ActiveDirectorySite ActiveDirectorySite ActiveDirectorySite Class

Definition

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.

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

Constructors

ActiveDirectorySite(DirectoryContext, String) ActiveDirectorySite(DirectoryContext, String) ActiveDirectorySite(DirectoryContext, String) ActiveDirectorySite(DirectoryContext, String)

Initializes a new instance of the ActiveDirectorySite class, using the specified DirectoryContext object.

Properties

AdjacentSites AdjacentSites AdjacentSites AdjacentSites

Gets a read-only collection of sites that are connected through a common site link with this site object.

BridgeheadServers BridgeheadServers BridgeheadServers BridgeheadServers

Gets a read-only collection of bridgehead servers for this site.

Domains Domains Domains Domains

Gets all domains in the site.

InterSiteTopologyGenerator InterSiteTopologyGenerator InterSiteTopologyGenerator InterSiteTopologyGenerator

Gets or sets the directory server that serves as the inter-site topology generator.

IntraSiteReplicationSchedule IntraSiteReplicationSchedule IntraSiteReplicationSchedule IntraSiteReplicationSchedule

Gets or sets the default setting for the replication schedule for the site.

Location Location Location Location

Gets or sets the location of the site.

Name Name Name Name

Gets the name of the site.

Options Options Options Options

Gets or sets the site options.

PreferredRpcBridgeheadServers PreferredRpcBridgeheadServers PreferredRpcBridgeheadServers PreferredRpcBridgeheadServers

Returns a collection of directory servers that are designated as preferred bridgehead servers for the RPC transport.

PreferredSmtpBridgeheadServers PreferredSmtpBridgeheadServers PreferredSmtpBridgeheadServers PreferredSmtpBridgeheadServers

Returns a collection of directory servers that are designated as preferred bridgehead servers for the SMTP transport.

Servers Servers Servers Servers

Returns a read-only collection of directory servers in the site.

SiteLinks SiteLinks SiteLinks SiteLinks

Gets a read-only collection of site links that involve this site.

Subnets Subnets Subnets Subnets

Returns a writable collection of subnets in the site.

Methods

Delete() Delete() Delete() Delete()

Deletes the current site.

Dispose() Dispose() Dispose() Dispose()

Releases all resources used by the object.

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

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

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
FindByName(DirectoryContext, String) FindByName(DirectoryContext, String) FindByName(DirectoryContext, String) FindByName(DirectoryContext, String)

Returns a site based on a site name.

GetComputerSite() GetComputerSite() GetComputerSite() GetComputerSite()

Gets the site that this computer is a member of.

GetDirectoryEntry() GetDirectoryEntry() GetDirectoryEntry() GetDirectoryEntry()

Gets the DirectoryEntry object for this site.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Save() Save() Save() Save()

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

ToString() ToString() ToString() ToString()

Returns the name of the site.

Security

DirectoryServicesPermission
Demand value: LinkDemand

Applies to