DomainController.GetDirectorySearcher 方法
定义
为域控制器检索 DirectorySearcher 对象。Retrieves a DirectorySearcher object for the domain controller.
public:
virtual System::DirectoryServices::DirectorySearcher ^ GetDirectorySearcher();
public virtual System.DirectoryServices.DirectorySearcher GetDirectorySearcher ();
abstract member GetDirectorySearcher : unit -> System.DirectoryServices.DirectorySearcher
override this.GetDirectorySearcher : unit -> System.DirectoryServices.DirectorySearcher
Public Overridable Function GetDirectorySearcher () As DirectorySearcher
返回
用于域控制器的 DirectorySearcher 对象。A DirectorySearcher object for the domain controller.
例外
当前对象已被释放。The current object has been disposed.