ActiveDirectorySchemaProperty.Syntax Property

 

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

Namespace:   System.DirectoryServices.ActiveDirectory
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

public ActiveDirectorySyntax Syntax { get; set; }

Property Value

Type: System.DirectoryServices.ActiveDirectory.ActiveDirectorySyntax

An ActiveDirectorySyntax object that defines the property type of the ActiveDirectorySchemaProperty object.

Exception Condition
ActiveDirectoryOperationException

A call to the underlying directory service resulted in an error.

ActiveDirectoryServerDownException

The target server is either busy or unavailable.

InvalidEnumArgumentException

The specified type is not a valid ActiveDirectorySyntax value (applies to set only).

.NET Framework
Available since 2.0
Return to top
Show: