ActiveDirectorySite Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
-
ActiveDirectorySite
- Implements
Active |
Initializes a new instance of the ActiveDirectorySite class, using the specified DirectoryContext object. |
Adjacent |
Gets a read-only collection of sites that are connected through a common site link with this site object. |
Bridgehead |
Gets a read-only collection of bridgehead servers for this site. |
Domains |
Gets all domains in the site. |
Inter |
Gets or sets the directory server that serves as the inter-site topology generator. |
Intra |
Gets or sets the default setting for the replication schedule for the site. |
Location |
Gets or sets the location of the site. |
Name |
Gets the name of the site. |
Options |
Gets or sets the site options. |
Preferred |
Returns a collection of directory servers that are designated as preferred bridgehead servers for the RPC transport. |
Preferred |
Returns a collection of directory servers that are designated as preferred bridgehead servers for the SMTP transport. |
Servers |
Returns a read-only collection of directory servers in the site. |
Site |
Gets a read-only collection of site links that involve this site. |
Subnets |
Returns a writable collection of subnets in the site. |
Delete() |
Deletes the current site. |
Dispose() |
Releases all resources used by the object. |
Dispose(Boolean) |
Releases the unmanaged resources used by the object and optionally releases the managed resources. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Find |
Returns a site based on a site name. |
Get |
Gets the site that this computer is a member of. |
Get |
Gets the DirectoryEntry object for this site. |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
Save() |
Writes any changes to the object to the Active Directory Domain Services store. |
To |
Returns the name of the site. |
Product | Versies |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
Feedback over .NET
.NET is een opensourceproject. Selecteer een koppeling om feedback te geven: