DirectorySearcher.Asynchronous プロパティ
アセンブリ: System.DirectoryServices (system.directoryservices.dll 内)

<ComVisibleAttribute(False)> _ Public Property Asynchronous As Boolean
Dim instance As DirectorySearcher Dim value As Boolean value = instance.Asynchronous instance.Asynchronous = value
[ComVisibleAttribute(false)] public: property bool Asynchronous { bool get (); void set (bool value); }
/** @property */ public boolean get_Asynchronous () /** @property */ public void set_Asynchronous (boolean value)
検索が非同期の場合は true。それ以外の場合は false。


using System.DirectoryServices; ... // Bind to the users container. DirectoryEntry entry = new DirectoryEntry("LDAP://CN=users ,DC=fabrikam,DC=com"); // Create a DirectorySearcher object. DirectorySearcher mySearcher = new DirectorySearcher(entry); //Set the Asynchronous property to true. src.Asynchronous = true; //Use the FindAll method to get search results. SearchResultCollection res = src.FindAll();

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


- DirectorySearcher.Asynchronous プロパティのページへのリンク