ReadOnlySiteCollection.Contains(ActiveDirectorySite) Methode

Definition

Ermittelt, ob das angegebene ActiveDirectorySite-Objekt in dieser Auflistung enthalten ist.

public:
 bool Contains(System::DirectoryServices::ActiveDirectory::ActiveDirectorySite ^ site);
public bool Contains (System.DirectoryServices.ActiveDirectory.ActiveDirectorySite site);
member this.Contains : System.DirectoryServices.ActiveDirectory.ActiveDirectorySite -> bool
Public Function Contains (site As ActiveDirectorySite) As Boolean

Parameter

site
ActiveDirectorySite

Das ActiveDirectorySite-Objekt, nach dem gesucht werden soll.

Gibt zurück

true, wenn das ActiveDirectorySite-Objekt in dieser Auflistung enthalten ist, andernfalls false.

Ausnahmen

site ist null.

Gilt für:

Weitere Informationen