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 IADsProperty

public interface IADsProperty extends IADs
{
  // Methods
  public Long get_MaxRange() throws IADsException;
  public Long get_MinRange() throws IADsException;
  public Boolean get_MultiValued() throws IADsException;
  public String get_OID() throws IADsException;
  public String get_Syntax() throws IADsException;
  public void put_MaxRange( Long maxRange) throws IADsException;
  public void put_MinRange( Long minRange) throws IADsException;
  public void put_MultiValued( Boolean multiValued)
        throws IADsException;
  public void put_OID( String OID) throws IADsException;
  public void put_Syntax( String syntax) throws IADsException;
}

This class is used to get and set the properties of the Property object.

Also see Also Active Directory Design Specification Version 2.0

IADs
  |
  +--IADsProperty

Methods

get_MaxRange 

public Long get_MaxRange() throws IADsException;

This method gets the upper limit of values assigned to the property.

Return Value

Returns The upper limit of values.

Exceptions

IADsException Thrown when the value is not found.

get_MinRange 

public Long get_MinRange() throws IADsException;

This method gets the lower limit of values assigned to the property.

Return Value

Returns The lower limit of values.

Exceptions

IADsException Thrown when the value is not found.

get_MultiValued 

public Boolean get_MultiValued() throws IADsException;

This method gets the boolean value that determines this property if it is multivalued. TRUE indicates the property is multivalued.

Return Value

Returns The boolean value.

Exceptions

IADsException Thrown when the value is not found.

get_OID 

public String get_OID() throws IADsException;

This method gets the namespace-specific Object Identifier defining the property.

Return Value

Returns The object identifier.

Exceptions

IADsException Thrown when the value is not found.

get_Syntax 

public String get_Syntax() throws IADsException;

This method gets the relative path of the schema syntax object defining the syntax of the property.

Return Value

Returns The relative path of the schema syntax object.

Exceptions

IADsException Thrown when the value is not found.

put_MaxRange 

public void put_MaxRange( Long maxRange) throws IADsException;

This method sets the upper limit of values assigned to the property.

ParameterDescription
maxRangeThe upper limit of values.

Exceptions

IADsException Thrown when the value is not found.

put_MinRange 

public void put_MinRange( Long minRange) throws IADsException;

This method sets the lower limit of values assigned to the property.

ParameterDescription
minRangeThe lower limit of values.

Exceptions

IADsException Thrown when the value is not found.

put_MultiValued 

public void put_MultiValued( Boolean multiValued)
        throws IADsException;

This method sets the boolean value that determines this property if it is multivalued. TRUE indicates the property is multivalued.

ParameterDescription
multiValuedThe boolean value.

Exceptions

IADsException Thrown when the value is not found.

put_OID 

public void put_OID( String OID) throws IADsException;

This method sets the namespace-specific Object Identifier defining the property. This is provided to allow schema extensions via ADSI in namespaces that require namespace-specific OIDs for properties.

ParameterDescription
OIDThe object identifier.

Exceptions

IADsException Thrown when the value is not found.

put_Syntax 

public void put_Syntax( String syntax) throws IADsException;

This method sets the relative path of the schema syntax object defining the syntax of the property.

ParameterDescription
syntaxThe relative path of the schema syntax object.

Exceptions

IADsException Thrown when the value is not found.

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