ActiveDirectoryRoleCollection.Contains(ActiveDirectoryRole) Methode

Definitie

Bepaalt of het opgegeven ActiveDirectoryRole object zich in deze verzameling bevindt.

public:
 bool Contains(System::DirectoryServices::ActiveDirectory::ActiveDirectoryRole role);
public bool Contains(System.DirectoryServices.ActiveDirectory.ActiveDirectoryRole role);
member this.Contains : System.DirectoryServices.ActiveDirectory.ActiveDirectoryRole -> bool
Public Function Contains (role As ActiveDirectoryRole) As Boolean

Parameters

role
ActiveDirectoryRole

Het ActiveDirectoryRole object waarnaar moet worden gezocht in deze verzameling.

Retouren

trueals het ActiveDirectoryRole object zich in deze verzameling bevindt; anders. false

Uitzonderingen

role is null.

Van toepassing op

Zie ook