Microsoft HomeProductsSearchSupportShopWrite Usspacer.gif Microsoft Home
Microsoft Packages
  In this topic

*Methods

 

Packages   Previous Microsoft Packages Next
Package com.ms.adsi   Previous This
Package
Next

 


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

Create 

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.

ParameterDescription
TypeThe object type being created.
NameThe object name.

Exceptions

IADsException failed to create the given object.

Delete 

public void Delete(String Type, String Name) throws IADsException;

Deletes the object identified by the given type and name.

ParameterDescription
TypeThe object type being deleted.
NameThe object name.

Exceptions

IADsException failed to delete the given object.

GetObject 

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.

ParameterDescription
TypeThe object type being retrieved.
NameThe object name.

Exceptions

IADsException failed to get object.

Back To Top © 1997 Microsoft Corporation. All rights reserved. Terms of use.