Interface IADsSchemaContainer
public interface IADsSchemaContainer extends IADs, IADsContainer
{
// Methods
public IADs Create(String Type, String Name) throws IADsException;
public void Delete(String Type, String Name) throws IADsException;
public IADs GetObject(String Type, String Name)
throws IADsException;
}
This interface specifies the basic functionality required by all schema container objects.
Also see Also Active Directory Design Specification Version 2.0
IADs,
|
+--IADsSchemaContainer
Methods
public IADs Create(String Type, String Name) throws IADsException;
Creates an object of the given type and name and returns the created object. The object is not actually created within the directory service until IADs::SetInfo method is executed on the newly created object.
Return Value
Returns The created IADs object.
| Parameter | Description |
| Type | The object type being created.
|
| Name | The object name.
|
Exceptions
IADsException
failed to create the given object.
public void Delete(String Type, String Name) throws IADsException;
Deletes the object identified by the given type and name.
| Parameter | Description |
| Type | The object type being deleted.
|
| Name | The object name.
|
Exceptions
IADsException
failed to delete the given object.
public IADs GetObject(String Type, String Name)
throws IADsException;
Returns the IADs interface of the item in the container identified by the object's name and type which is either class, property or syntax object.
Return Value
Returns The IADs object.
| Parameter | Description |
| Type | The object type being retrieved.
|
| Name | The object name.
|
Exceptions
IADsException
failed to get object.