ActiveDirectorySchemaProperty Class

Definition

The ActiveDirectorySchemaProperty class represents a schema property definition that is contained in the schema partition.

public class ActiveDirectorySchemaProperty : IDisposable
Inheritance
ActiveDirectorySchemaProperty
Implements

Constructors

Properties

CommonName

Gets or sets the Common Name (CN) of the ActiveDirectorySchemaProperty object.

Description

Gets or sets a description of the ActiveDirectorySchemaProperty object.

IsDefunct

Gets or sets a value indicating whether the ActiveDirectorySchemaProperty object is defunct.

IsInAnr

Gets or sets a value indicating whether the schema property is in the ANR set.

IsIndexed

Gets or sets a value indicating whether the schema property is indexed in the Active Directory Domain Services store.

IsIndexedOverContainer

Gets or sets a value indicating whether the schema property is indexed in all containers.

IsInGlobalCatalog

Gets or sets a value indicating whether the schema property is contained in the global catalog.

IsOnTombstonedObject

Gets or sets a value indicating whether the schema property is in the tombstone object that contains deleted properties.

IsSingleValued

Gets or sets a value indicating whether the schema property is single-valued.

IsTupleIndexed

Gets or sets a value indicating whether there is a tuple index for this schema property.

Link

Gets an ActiveDirectorySchemaProperty that links to the current schema property.

LinkId

Gets or sets the value for the link identifier when the schema property is linked.

Name

Gets the ldapDisplayName of the ActiveDirectorySchemaProperty object.

Oid

Gets or sets the OID of the schema property.

RangeLower

Gets or sets a value that represents the minimum value or length that the schema property can have.

RangeUpper

Gets or sets a value that represents the maximum value or length that the ActiveDirectorySchemaProperty object can have.

SchemaGuid

Gets or sets the schemaIDGuid for the ActiveDirectorySchemaProperty object.

Syntax

Gets or sets an ActiveDirectorySyntax object indicating the property type (syntax) of the ActiveDirectorySchemaProperty object.

Methods

Dispose()

Releases the resources that are used by the ActiveDirectorySchemaProperty object.

Dispose(Boolean)

Releases the unmanaged resources that are used by the ActiveDirectorySchemaProperty object and, optionally, releases unmanaged resources.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
FindByName(DirectoryContext, String)

Gets an ActiveDirectorySchemaProperty object in the Active Directory Domain Services schema partition that matches a given directory context and name.

GetDirectoryEntry()

Gets the DirectoryEntry object for the ActiveDirectorySchemaProperty object.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Save()

Commits all changes to the current ActiveDirectorySchemaProperty object to the underlying directory store.

ToString()

Gets the LDAP display name of the ActiveDirectorySchemaProperty object.

Applies to

Product Versies
.NET 8 (package-provided), 9 (package-provided)
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9