IAdmPropertyPatternConstraint

The IAdmPropertyPatternConstraint interface is the base interface for all property constraints that are used in property patterns. All interfaces that represent constraints of different types are inherited from this interface.

Inheritance: IUnknown

Methods

  • Method

  • Description

  • Check()

  • Determines whether a given property entry meets the requirements of this constraint.

Properties

  • Property

  • Description

  • Description

  • Gets a description for the property constraint.

  • DescriptionXml

  • Gets a description for the property constraint in XML format.

  • Type

  • Gets the type of the property constraint.

  • Category

  • Gets the property constraint category.

Details

Check()

Determines whether a given property entry meets the requirements of this constraint.

bool Check(IADsPropertyEntry propertyEntry,
           IAdmTop targetObject,
           out string errorMessage)

Parameters

  • propertyEntry - Specifies the entry to be checked.
  • targetObject - Specifies the target directory object.
  • errorMessage - An output (OUT) parameter that returns an error message when the method returns false. When the method returns true, the parameter is set to null.

Description

Gets a description for the property constraint.

  • Type:
  • string
  • Access:
  • Read-only

DescriptionXml

Gets a description for the property constraint in XML format.

  • Type:
  • string
  • Access:
  • Read-only

Type

Gets the type of the property constraint.


Category

Gets the property constraint category.


Requirements

Minimum required version: 2009.1

See also