C# Class Novell.Directory.Ldap.LdapDITStructureRuleSchema

Represents the definition of a specific DIT (Directory Information Tree) structure rule in the directory schema. The LdapDITStructureRuleSchema class represents the definition of a DIT Structure Rule. It is used to discover or modify which object classes a particular object class may be subordinate to in the DIT.
Inheritance: LdapSchemaElement
显示文件 Open project: EventStore/csharp-ldap Class Usage Examples

Public Methods

Method Description
LdapDITStructureRuleSchema ( System raw ) : System

Constructs a DIT structure rule from the raw string value returned from a schema query for dITStructureRules.

LdapDITStructureRuleSchema ( System names, int ruleID, System description, bool obsolete, System nameForm, System superiorIDs ) : System

Constructs a DIT structure rule for adding to or deleting from the schema.

Protected Methods

Method Description
formatString ( ) : System.String

Returns a string in a format suitable for directly adding to a directory, as a value of the particular schema element class.

Method Details

LdapDITStructureRuleSchema() public method

Constructs a DIT structure rule from the raw string value returned from a schema query for dITStructureRules.
public LdapDITStructureRuleSchema ( System raw ) : System
raw System The raw string value returned from a schema /// query for dITStructureRules. ///
return System

LdapDITStructureRuleSchema() public method

Constructs a DIT structure rule for adding to or deleting from the schema.
public LdapDITStructureRuleSchema ( System names, int ruleID, System description, bool obsolete, System nameForm, System superiorIDs ) : System
names System The names of the structure rule. /// ///
ruleID int The unique identifier of the structure rule. NOTE: /// this is an integer, not a dotted numerical /// identifier. Structure rules aren't identified /// by OID. /// ///
description System An optional description of the structure rule. /// ///
obsolete bool True if the structure rule is obsolete. /// ///
nameForm System Either the identifier or name of a name form. /// This is used to indirectly refer to the object /// class that this structure rule applies to. /// ///
superiorIDs System A list of superior structure rules - specified /// by their integer ID. The object class /// specified by this structure rule (via the /// nameForm parameter) may only be subordinate in /// the DIT to object classes of those represented /// by the structure rules here; it may be null. /// ///
return System

formatString() protected method

Returns a string in a format suitable for directly adding to a directory, as a value of the particular schema element class.
protected formatString ( ) : System.String
return System.String