public class DirectorySearcher extends Component
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.DirectoryServices.DirectorySearcher
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.DirectoryServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.DirectoryServices
|
static java.lang.String |
className
Qualified class name: System.DirectoryServices.DirectorySearcher
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DirectorySearcher() |
DirectorySearcher(DirectoryEntry searchRoot) |
DirectorySearcher(DirectoryEntry searchRoot,
java.lang.String filter) |
DirectorySearcher(DirectoryEntry searchRoot,
java.lang.String filter,
java.lang.String[] propertiesToLoad) |
DirectorySearcher(DirectoryEntry searchRoot,
java.lang.String filter,
java.lang.String[] propertiesToLoad,
SearchScope scope) |
DirectorySearcher(java.lang.Object instance)
Internal constructor.
|
DirectorySearcher(java.lang.String filter) |
DirectorySearcher(java.lang.String filter,
java.lang.String[] propertiesToLoad) |
DirectorySearcher(java.lang.String filter,
java.lang.String[] propertiesToLoad,
SearchScope scope) |
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteCreateObjRef, GetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DirectorySearcher()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
InvalidEnumArgumentException
public DirectorySearcher(DirectoryEntry searchRoot) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException
public DirectorySearcher(DirectoryEntry searchRoot, java.lang.String filter) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException
public DirectorySearcher(DirectoryEntry searchRoot, java.lang.String filter, java.lang.String[] propertiesToLoad) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException
public DirectorySearcher(DirectoryEntry searchRoot, java.lang.String filter, java.lang.String[] propertiesToLoad, SearchScope scope) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, NotImplementedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, InvalidEnumArgumentException
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionNotImplementedExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionInvalidEnumArgumentExceptionpublic DirectorySearcher(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic DirectorySearcher(java.lang.String filter)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
InvalidEnumArgumentException
public DirectorySearcher(java.lang.String filter,
java.lang.String[] propertiesToLoad)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
InvalidEnumArgumentException
public DirectorySearcher(java.lang.String filter,
java.lang.String[] propertiesToLoad,
SearchScope scope)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentOutOfRangeException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException,
InvalidEnumArgumentException
public static DirectorySearcher cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DirectorySearcher, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDirectorySearcher instancejava.lang.Throwable - in case of error during cast operationpublic SearchResultCollection FindAll() throws java.lang.Throwable, NotSupportedException, OutOfMemoryException, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, NotImplementedException, AccessViolationException
public SearchResult FindOne() throws java.lang.Throwable, NotSupportedException, OutOfMemoryException, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, ObjectDisposedException, AbandonedMutexException, InvalidOperationException, NotImplementedException, AccessViolationException
public boolean getAsynchronous()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getAttributeScopeQuery()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getCacheResults()
throws java.lang.Throwable
java.lang.Throwablepublic TimeSpan getClientTimeout() throws java.lang.Throwable
java.lang.Throwablepublic DereferenceAlias getDerefAlias() throws java.lang.Throwable
java.lang.Throwablepublic DirectorySynchronization getDirectorySynchronization() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, MissingManifestResourceException, ArgumentOutOfRangeException, OutOfMemoryException, FormatException
public ExtendedDN getExtendedDN() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getFilter()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ComponentString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ComponentString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ComponentObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ComponentString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ComponentJCType representing the CLR Type of the instantiated Classpublic int getPageSize()
throws java.lang.Throwable
java.lang.Throwablepublic StringCollection getPropertiesToLoad() throws java.lang.Throwable
java.lang.Throwablepublic boolean getPropertyNamesOnly()
throws java.lang.Throwable
java.lang.Throwablepublic ReferralChasingOption getReferralChasing() throws java.lang.Throwable
java.lang.Throwablepublic DirectoryEntry getSearchRoot() throws java.lang.Throwable, NotSupportedException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentNullException, InvalidOperationException, CryptographicException, FormatException, ArgumentException, CultureNotFoundException, IndexOutOfRangeException, ObjectDisposedException, AbandonedMutexException, MissingManifestResourceException
java.lang.ThrowableNotSupportedExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionArgumentNullExceptionInvalidOperationExceptionCryptographicExceptionFormatExceptionArgumentExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionObjectDisposedExceptionAbandonedMutexExceptionMissingManifestResourceExceptionpublic SearchScope getSearchScope() throws java.lang.Throwable
java.lang.Throwablepublic SecurityMasks getSecurityMasks() throws java.lang.Throwable
java.lang.Throwablepublic TimeSpan getServerPageTimeLimit() throws java.lang.Throwable
java.lang.Throwablepublic TimeSpan getServerTimeLimit() throws java.lang.Throwable
java.lang.Throwablepublic int getSizeLimit()
throws java.lang.Throwable
java.lang.Throwablepublic SortOption getSort() throws java.lang.Throwable
java.lang.Throwablepublic boolean getTombstone()
throws java.lang.Throwable
java.lang.Throwablepublic DirectoryVirtualListView getVirtualListView() throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, IndexOutOfRangeException, MissingManifestResourceException
public void setAsynchronous(boolean Asynchronous)
throws java.lang.Throwable
java.lang.Throwablepublic void setAttributeScopeQuery(java.lang.String AttributeScopeQuery)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public void setCacheResults(boolean CacheResults)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public void setClientTimeout(TimeSpan ClientTimeout) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
public void setDerefAlias(DereferenceAlias DerefAlias) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionpublic void setDirectorySynchronization(DirectorySynchronization DirectorySynchronization) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
public void setExtendedDN(ExtendedDN ExtendedDN) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionpublic void setFilter(java.lang.String Filter)
throws java.lang.Throwable
java.lang.Throwablepublic void setJCOInstance(JCObject instance)
setJCOInstance in class Componentpublic void setPageSize(int PageSize)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public void setPropertyNamesOnly(boolean PropertyNamesOnly)
throws java.lang.Throwable
java.lang.Throwablepublic void setReferralChasing(ReferralChasingOption ReferralChasing) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionpublic void setSearchRoot(DirectoryEntry SearchRoot) throws java.lang.Throwable, ArgumentException, ArgumentNullException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionpublic void setSearchScope(SearchScope SearchScope) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionpublic void setSecurityMasks(SecurityMasks SecurityMasks) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionpublic void setServerPageTimeLimit(TimeSpan ServerPageTimeLimit) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
public void setServerTimeLimit(TimeSpan ServerTimeLimit) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
public void setSizeLimit(int SizeLimit)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException
public void setSort(SortOption Sort) throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic void setTombstone(boolean Tombstone)
throws java.lang.Throwable
java.lang.Throwablepublic void setVirtualListView(DirectoryVirtualListView VirtualListView) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException