Aracılığıyla paylaş


ReadOnlyDirectoryServerCollection.Contains(DirectoryServer) Yöntem

Tanım

Belirtilen DirectoryServer nesnenin bu koleksiyonda olup olmadığını belirler.

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

Parametreler

directoryServer
DirectoryServer

DirectoryServer Bu koleksiyonda aranacak nesne.

Döndürülenler

trueDirectoryServer nesnesi bu koleksiyondaysa; değilse, false.

Özel durumlar

directoryServer, null değeridir.

Şunlara uygulanır

Ayrıca bkz.