C# Class Novell.Directory.Ldap.LdapSyntaxSchema

Represents a syntax definition in the directory schema. The LdapSyntaxSchema class represents the definition of a syntax. It is used to discover the known set of syntaxes in effect for the subschema. Although this extends LdapSchemaElement, it does not use the name or obsolete members. Therefore, calls to the getName method always return null and to the isObsolete method always returns false. There is also no matching getSyntaxNames method in LdapSchema. Note also that adding and removing syntaxes is not typically a supported feature of Ldap servers.
Inheritance: LdapSchemaElement
Mostrar archivo Open project: EventStore/csharp-ldap Class Usage Examples

Public Methods

Method Description
LdapSyntaxSchema ( System raw ) : System

Constructs a syntax from the raw string value returned on a schema query for LdapSyntaxes.

LdapSyntaxSchema ( System oid, System description ) : System

Constructs a syntax for adding to or deleting from the schema. Adding and removing syntaxes is not typically a supported feature of Ldap servers. Novell eDirectory does not allow syntaxes to be added or removed.

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

LdapSyntaxSchema() public method

Constructs a syntax from the raw string value returned on a schema query for LdapSyntaxes.
public LdapSyntaxSchema ( System raw ) : System
raw System The raw string value returned from a schema /// query for ldapSyntaxes. ///
return System

LdapSyntaxSchema() public method

Constructs a syntax for adding to or deleting from the schema. Adding and removing syntaxes is not typically a supported feature of Ldap servers. Novell eDirectory does not allow syntaxes to be added or removed.
public LdapSyntaxSchema ( System oid, System description ) : System
oid System The unique object identifier of the syntax - in /// dotted numerical format. /// ///
description System An optional description of the syntax. ///
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