public class DirectoryServerCollection extends CollectionBase
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.DirectoryServices.ActiveDirectory.DirectoryServerCollection
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.ActiveDirectory.DirectoryServerCollection
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
DirectoryServerCollection() |
DirectoryServerCollection(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Add(DirectoryServer server) |
void |
AddRange(DirectoryServer[] servers) |
static DirectoryServerCollection |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DirectoryServerCollection, a cast assert is made to check if types are compatible. |
boolean |
Contains(DirectoryServer server) |
void |
CopyTo(DirectoryServer[] array,
int index) |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
int |
IndexOf(DirectoryServer server) |
void |
Insert(int index,
DirectoryServer server) |
void |
Remove(DirectoryServer server) |
void |
setJCOInstance(JCObject instance) |
Clear, getCapacity, getCount, RemoveAt, setCapacityGetEnumerator, iteratorEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringToIEnumerablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DirectoryServerCollection()
throws java.lang.Throwable
java.lang.Throwablepublic DirectoryServerCollection(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic int Add(DirectoryServer server) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, InvalidEnumArgumentException, OutOfMemoryException, AccessViolationException, ActiveDirectoryOperationException, NullReferenceException, FormatException, OverflowException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionAccessViolationExceptionActiveDirectoryOperationExceptionNullReferenceExceptionFormatExceptionOverflowExceptionpublic void AddRange(DirectoryServer[] servers) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, ActiveDirectoryOperationException, InvalidEnumArgumentException, OutOfMemoryException, AccessViolationException, NullReferenceException, FormatException, OverflowException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionAccessViolationExceptionNullReferenceExceptionFormatExceptionOverflowExceptionpublic static DirectoryServerCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DirectoryServerCollection, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDirectoryServerCollection instancejava.lang.Throwable - in case of error during cast operationpublic boolean Contains(DirectoryServer server) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, OutOfMemoryException, MissingManifestResourceException, IndexOutOfRangeException
public void CopyTo(DirectoryServer[] array, int index) throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class CollectionBaseString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class CollectionBaseString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class CollectionBaseObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class CollectionBaseString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class CollectionBaseJCType representing the CLR Type of the instantiated Classpublic int IndexOf(DirectoryServer server) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, OutOfMemoryException, MissingManifestResourceException, IndexOutOfRangeException
public void Insert(int index,
DirectoryServer server)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidEnumArgumentException,
OutOfMemoryException,
AccessViolationException,
ActiveDirectoryOperationException,
NullReferenceException,
FormatException,
OverflowException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionAccessViolationExceptionActiveDirectoryOperationExceptionNullReferenceExceptionFormatExceptionOverflowExceptionpublic void Remove(DirectoryServer server) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, OutOfMemoryException, MissingManifestResourceException, IndexOutOfRangeException
public void setJCOInstance(JCObject instance)
setJCOInstance in class CollectionBase