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 returnstrue
, the parameter is set tonull
.
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.
- Type:
- ADM_PROPERTYCONSTRAINTTYPE_ENUM
- Access:
- Read-only
Category
Gets the property constraint category.
- Type:
- ADM_PROPERTYCONSTRAINTCATEGORY_ENUM
- Access:
- Read-only
Requirements
Minimum required version: 2009.1