ActiveDirectorySite Class
TOC
Collapse the table of content
Expand the table of content

ActiveDirectorySite Class

 

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.

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

System.Object
  System.DirectoryServices.ActiveDirectory.ActiveDirectorySite

[DirectoryServicesPermissionAttribute(SecurityAction.LinkDemand, 
	Unrestricted = true)]
public class ActiveDirectorySite : IDisposable

NameDescription
System_CAPS_pubmethodActiveDirectorySite(DirectoryContext, String)

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

NameDescription
System_CAPS_pubpropertyAdjacentSites

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

System_CAPS_pubpropertyBridgeheadServers

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

System_CAPS_pubpropertyDomains

Gets all domains in the site.

System_CAPS_pubpropertyInterSiteTopologyGenerator

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

System_CAPS_pubpropertyIntraSiteReplicationSchedule

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

System_CAPS_pubpropertyLocation

Gets or sets the location of the site.

System_CAPS_pubpropertyName

Gets the name of the site.

System_CAPS_pubpropertyOptions

Gets or sets the site options.

System_CAPS_pubpropertyPreferredRpcBridgeheadServers

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

System_CAPS_pubpropertyPreferredSmtpBridgeheadServers

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

System_CAPS_pubpropertyServers

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

System_CAPS_pubpropertySiteLinks

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

System_CAPS_pubpropertySubnets

Returns a writable collection of subnets in the site.

NameDescription
System_CAPS_pubmethodDelete()

Deletes the current site.

System_CAPS_pubmethodDispose()

Releases all resources used by the object.

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the 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 site based on a site name.

System_CAPS_pubmethodSystem_CAPS_staticGetComputerSite()

Gets the site that this computer is a member of.

System_CAPS_pubmethodGetDirectoryEntry()

Gets the DirectoryEntry object for this site.

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 object to the Active Directory Domain Services store.

System_CAPS_pubmethodToString()

Returns the name of the site.(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:
© 2016 Microsoft