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 IADsClass

public interface IADsClass extends IADs
{
  // Methods
  public Boolean get_Abstract() throws IADsException;
  public String[] get_AuxDerivedFrom() throws IADsException;
  public Boolean get_Auxiliary() throws IADsException;
  public String get_CLSID() throws IADsException;
  public Boolean get_Container() throws IADsException;
  public Object[] get_Containment() throws IADsException;
  public String[] get_DerivedFrom() throws IADsException;
  public String[] get_MandatoryProperties() throws IADsException;
  public String[] get_NamingProperties() throws IADsException;
  public String get_OID() throws IADsException;
  public String[] get_OptionalProperties() throws IADsException;
  public String[] get_PossibleSuperiors() throws IADsException;
  public String get_PrimaryInterface() throws IADsException;
  public void put_Abstract( Boolean abstractVal)
        throws IADsException;
  public void put_Auxiliary( Boolean auxiliaryVal)
        throws IADsException;
  public void put_CLSID( String CLSID) throws IADsException;
  public void put_Container( Boolean isContainer)
        throws IADsException;
  public void put_Containment( Object[] objectTypes)
        throws IADsException;
  public void put_MandatoryProperties(
        String[] mandatoryProperties) throws IADsException;
  public void put_NamingProperties(
        String[] namingProperties) throws IADsException;
  public void put_OID( String OID) throws IADsException;
  public void put_OptionalProperties(
        String[] optionalProperties) throws IADsException;
}

This interface is used to get and set the properties on a class object.

Also see Also Active Directory Design Specification Version 2.0

IADs
  |
  +--IADsClass

Methods

get_Abstract 

public Boolean get_Abstract() throws IADsException;

This method gets the boolean value indicating whether the class is Abstract or non-abstract.

Return Value

Returns The boolean value

Exceptions

IADsException Thrown when the value not found.

get_AuxDerivedFrom 

public String[] get_AuxDerivedFrom() throws IADsException;

This method gets an array of ADsPath strings that indicate the Auxiliary classes contributing to the class.

Return Value

Returns The anxiliary classes.

Exceptions

IADsException Thrown when the value not found.

get_Auxiliary 

public Boolean get_Auxiliary() throws IADsException;

This method gets the boolean value indicating whether the class is auxiliary.

Return Value

Returns The boolean value

Exceptions

IADsException Thrown when the value not found.

get_CLSID 

public String get_CLSID() throws IADsException;

This method gets an optional provider specific CLSID.

Return Value

Returns The CLSID.

Exceptions

IADsException Thrown when the value not found.

get_Container 

public Boolean get_Container() throws IADsException;

This method gets the property that determines if this class is a DS container.

Return Value

Returns The boolean value.

Exceptions

IADsException Thrown when the value not found.

get_Containment 

public Object[] get_Containment() throws IADsException;

This method gets the object types that can be contained within the container.

Return Value

Returns The containment.

Exceptions

IADsException Thrown when the value not found.

get_DerivedFrom 

public String[] get_DerivedFrom() throws IADsException;

This method gets an array of ADsPath strings that indicate the immediate superclasses from which the class was derived.

Return Value

Returns The immediate superclasses.

Exceptions

IADsException Thrown when the value not found.

get_MandatoryProperties 

public String[] get_MandatoryProperties() throws IADsException;

This method gets an array of strings listing the properties that must be set for the class to be written to storage.

Return Value

Returns The mandatory properties

Exceptions

IADsException Thrown when the value not found.

get_NamingProperties 

public String[] get_NamingProperties() throws IADsException;

This method gets an array of strings listing the properties that provide the relative distinguished name for the property.

Return Value

Returns The naming properties.

Exceptions

IADsException Thrown when the value not found.

get_OID 

public String get_OID() throws IADsException;

This method gets the namespace specific Object Identifier defining the class.

Return Value

Returns The OID value.

Exceptions

IADsException Thrown when the value not found.

get_OptionalProperties 

public String[] get_OptionalProperties() throws IADsException;

This method gets an array of strings listing the additional properties that may be set for the class.

Return Value

Returns The optional properties.

Exceptions

IADsException Thrown when the value not found.

get_PossibleSuperiors 

public String[] get_PossibleSuperiors() throws IADsException;

This method gets an array of ADsPath strings that indicate classes that can contain instances of the class.

Return Value

Returns The possible superclasses.

Exceptions

IADsException Thrown when the value not found.

get_PrimaryInterface 

public String get_PrimaryInterface() throws IADsException;

This method gets the primary interface.

Return Value

Returns The primary interface.

Exceptions

IADsException Thrown when the value not found.

put_Abstract 

public void put_Abstract( Boolean abstractVal)
        throws IADsException;

This method sets the boolean value indicating whether the class is Abstract or non-abstract.

ParameterDescription
abstractValThe boolean value

Exceptions

IADsException Thrown when the value not found.

put_Auxiliary 

public void put_Auxiliary( Boolean auxiliaryVal)
        throws IADsException;

This method sets the boolean value indicating whether the class is auxiliary.

ParameterDescription
auxiliaryValThe boolean value

Exceptions

IADsException Thrown when the value not found.

put_CLSID 

public void put_CLSID( String CLSID) throws IADsException;

This method sets an optional provider specific CLSID.

ParameterDescription
CLSIDThe CLSID.

Exceptions

IADsException Thrown when the value not found.

put_Container 

public void put_Container( Boolean isContainer)
        throws IADsException;

This method sets the property that determines if this class is a DS container.

ParameterDescription
isContainerThe boolean value.

Exceptions

IADsException Thrown when the value not found.

put_Containment 

public void put_Containment( Object[] objectTypes)
        throws IADsException;

This method sets the object types that can be contained within this container. Object creation is done as a container operation e.g. the container decides whether or not an object can be created within it.

ParameterDescription
containmentThe containment.

Exceptions

IADsException Thrown when the value not found.

put_MandatoryProperties 

public void put_MandatoryProperties(
        String[] mandatoryProperties) throws IADsException;

This method sets an array of strings listing the properties that must be set for the class to be written to storage.

ParameterDescription
mandatoryPropertiesThe mandatory properties

Exceptions

IADsException Thrown when the value not found.

put_NamingProperties 

public void put_NamingProperties(
        String[] namingProperties) throws IADsException;

This method sets an array of strings listing the properties that provide the relative distinguished name for the property.`

ParameterDescription
namingPropertiesThe naming properties.

Exceptions

IADsException Thrown when the value not found.

put_OID 

public void put_OID( String OID) throws IADsException;

This method sets the namespace specific Object Identifier defining the class.

ParameterDescription
OIDThe OID value.

Exceptions

IADsException Thrown when the value not found.

put_OptionalProperties 

public void put_OptionalProperties(
        String[] optionalProperties) throws IADsException;

This method sets an array of strings listing the additional properties that may be set for the class.

ParameterDescription
optionalPropertiesThe optional properties.

Exceptions

IADsException Thrown when the value not found.

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