ADSI Syntax Object is a COM object that represents the syntax of a property as it is defined in the ADSI Schema Container Object, which can be enumerated to list all valid syntaxes. ADSI Property Object refers to the syntax needed to interpret its property value through IADsProperty::get_Syntax property method.
Syntax objects differ from other Active Directory schema objects in that there are no interfaces or properties specific to the syntax object. Syntax objects exist solely as named entities of class "syntax" in the schema container.
Active Directory defines a set of standard syntax objects that can be used uniformly across diverse directory services.
Interfaces on ADSI Syntax Object | Description |
---|---|
IUnknown | Universal COM object management and interface query methods. |
IDispatch | Automation methods for late-bound access to an object's methods and properties. |
IADs | Standard Active Directory object management methods. |
IADsSyntax | Management methods for a syntax object and its persistent properties. |
Object | IDL type | Description |
---|---|---|
Boolean | boolean | TRUE (1) / FALSE (0) |
Counter | long | Differs from Integer in that any value added is added to the total, and any value deleted is deleted from the total. |
ADsPath | BSTR | Values uniquely identify objects |
EmailAddress | BSTR | Fully qualified email address. |
FaxNumber | BSTR | Should comply with the international E.123, with an optional bit string formatted according to T.30. |
Integer | long | |
Interval | long | Value represents interval of time, in seconds. -1 = Unlimited. |
List | VARIANT | Value is an ordered sequence of strings. The VARIANT contains a SAFEARRAY of BSTRs. |
Method | Identifies a function available on this COM object. | |
NetAddress | BSTR | A network address, represented as a string using the following syntax: <NetAddress>::=<AddrType>":"<AddrValue> |
OctetString | VARIANT | Values are uninterpreted byte strings. The VARIANT contains a SAFEARRAY of unsigned chars. |
Path | BSTR | Value is a file system path. |
PhoneNumber | BSTR | |
PostalAddress | BSTR | Value is a postal address, typically 6 lines of 30 chars each. Carriage return characters are allowed. The following format is recommended: Line 1: Name Line 2: Street Address or Post Office Box Number Line 3: State or Province Name Line 4: Postal Code Line 5: Country Name |
SmallInterval | long | Value represents interval of time in milliseconds. |
String | BSTR | |
Time | DATE |
Windows NT: Use version 4.0 and later.
IADsProperty, IADsSyntax, ADSI Property Object