public class ActiveDirectorySiteCollection extends CollectionBase
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.DirectoryServices.ActiveDirectory.ActiveDirectorySiteCollection
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=10.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.ActiveDirectorySiteCollection
|
static JCType |
classType
The type managed from JCOBridge.
|
Null| Constructor and Description |
|---|
ActiveDirectorySiteCollection() |
ActiveDirectorySiteCollection(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
Add(ActiveDirectorySite site) |
void |
AddRange(ActiveDirectorySite[] sites) |
void |
AddRange(ActiveDirectorySiteCollection sites) |
static ActiveDirectorySiteCollection |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into ActiveDirectorySiteCollection, a cast assert is made to check if types are compatible. |
boolean |
Contains(ActiveDirectorySite site) |
void |
CopyTo(ActiveDirectorySite[] 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(ActiveDirectorySite site) |
void |
Insert(int index,
ActiveDirectorySite site) |
void |
Remove(ActiveDirectorySite site) |
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 ActiveDirectorySiteCollection()
throws java.lang.Throwable
java.lang.Throwablepublic ActiveDirectorySiteCollection(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic int Add(ActiveDirectorySite site) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, CultureNotFoundException, ActiveDirectoryOperationException, InvalidEnumArgumentException, FormatException, ActiveDirectoryObjectNotFoundException, OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionFormatExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionpublic void AddRange(ActiveDirectorySite[] sites) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, ActiveDirectoryOperationException, InvalidEnumArgumentException, OutOfMemoryException, ActiveDirectoryObjectNotFoundException, SecurityException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionActiveDirectoryObjectNotFoundExceptionSecurityExceptionpublic void AddRange(ActiveDirectorySiteCollection sites) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, ActiveDirectoryOperationException, InvalidEnumArgumentException, OutOfMemoryException, ActiveDirectoryObjectNotFoundException, SecurityException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionOutOfMemoryExceptionActiveDirectoryObjectNotFoundExceptionSecurityExceptionpublic static ActiveDirectorySiteCollection cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into ActiveDirectorySiteCollection, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedActiveDirectorySiteCollection instancejava.lang.Throwable - in case of error during cast operationpublic boolean Contains(ActiveDirectorySite site) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, CultureNotFoundException, OutOfMemoryException, NullReferenceException, FormatException, ActiveDirectoryOperationException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionNullReferenceExceptionFormatExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionpublic void CopyTo(ActiveDirectorySite[] 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(ActiveDirectorySite site) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, CultureNotFoundException, OutOfMemoryException, NullReferenceException, FormatException, ActiveDirectoryOperationException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionNullReferenceExceptionFormatExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionpublic void Insert(int index,
ActiveDirectorySite site)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
IndexOutOfRangeException,
CultureNotFoundException,
ActiveDirectoryOperationException,
InvalidEnumArgumentException,
FormatException,
ActiveDirectoryObjectNotFoundException,
OutOfMemoryException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionFormatExceptionActiveDirectoryObjectNotFoundExceptionOutOfMemoryExceptionpublic void Remove(ActiveDirectorySite site) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, CultureNotFoundException, OutOfMemoryException, NullReferenceException, FormatException, ActiveDirectoryOperationException, InvalidEnumArgumentException, ActiveDirectoryObjectNotFoundException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionNullReferenceExceptionFormatExceptionActiveDirectoryOperationExceptionInvalidEnumArgumentExceptionActiveDirectoryObjectNotFoundExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class CollectionBase