Skip to content

IADsObjectOptions

The IADsObjectOptions interface provides a direct mechanism to specify and obtain various options for manipulating an ADSI object. Typically, the options apply to search operations of the directory.

Inheritance: The IADsObjectOptions interface inherits from the IDispatch interface.

Methods

  • Method

  • Description

  • GetOption()

  • Returns a specific option for this directory object.

  • SetOption()

  • Sets an option for manipulating this directory object.

Details

GetOption()

Returns a specific option for this directory object.

Object GetOption(ADS_OPTION_ENUM flag)

SetOption()

Sets an option for manipulating this directory object.

void SetOption(ADS_OPTION_ENUM flag, Object value)

Parameters

  • flag - Specifies the provider-specific option to set. This parameter can be any value from the ADS_OPTION_ENUM enumeration except ADS_OPTION_SERVERNAME or ADS_OPTION_MUTUAL_AUTH_STATUS.
  • value - Specifies the value to set for the option specified in the flags parameter.

Requirements

Minimum required version: 2009.1

See also