ActiveDirectorySiteLink.Sites Property

Definition

Gets a read/write collection of sites that this site link contains.

public:
 property System::DirectoryServices::ActiveDirectory::ActiveDirectorySiteCollection ^ Sites { System::DirectoryServices::ActiveDirectory::ActiveDirectorySiteCollection ^ get(); };
public System.DirectoryServices.ActiveDirectory.ActiveDirectorySiteCollection Sites { get; }
member this.Sites : System.DirectoryServices.ActiveDirectory.ActiveDirectorySiteCollection
Public ReadOnly Property Sites As ActiveDirectorySiteCollection

Property Value

A writable ActiveDirectorySiteCollection collection of sites that this site link contains. Sites can be added and deleted from this collection.

Exceptions

An Active Directory Domain Services operation failed. See the exception for details.

The object has been disposed.

Applies to

See also