An ADSI schema container object contains the syntax objects necessary to represent all the property-object data in all the schema classes. Syntax objects by definition are Automation-compliant. Extended syntax support for non-Automation clients is defined in ADSTYPE.
| Syntax Name | IDL Type Representation | Automation VARTYPE |
Remarks |
|---|---|---|---|
| Boolean | VARIANT_BOOL | VT_BOOL | TRUE = -1, FALSE = 0; |
| Counter | long | VT_I4 | Differs from Integer in that any value added is added to the total, and any value deleted is deleted from the total. |
| ADsPath | BSTR | VT_BSTR | String that uniquely identifies an object. |
| EmailAddress | BSTR | VT_BSTR | |
| FaxNumber | BSTR | VT_BSTR | Should comply with E.123, with an optional bit string formatted according to T.30. |
| Integer | long | VT_I4 | |
| Interval | long | VT_I4 | Value represents an interval of time, in seconds. -1 = Unlimited. |
| List | VARIANT | VT_VARIANT | Value is an ordered sequence of strings. The VARIANT contains a SAFEARRAY of BSTRs. |
| Interface Ptr | IDispatch | VT_DISPATCH | Identifies a function available on this COM object. |
| NetAddress | BSTR | VT_BSTR | A network address, represented as a string. |
| OctetString | VARIANT | VT_VARIANT | Values are uninterpreted byte strings. The VARIANT contains a SAFEARRAY of unsigned chars. |
| Path | BSTR | VT_BSTR | Value is a file system path. |
| PhoneNumber | BSTR | VT_BSTR | |
| PostalAddress | BSTR | VT_BSTR | Value is a postal address, typically 6 lines of 30 characters each. Carriage return characters are allowed. The following format is recommended: Line 1: Name Line 2: Street Address or PO Box Number Line 3: State or Province Name Line 4: Postal Code Line 5: Country |
| SmallInterval | long | VT_I4 | Value represents an interval of time in milliseconds. |
| String | BSTR | VT_BSTR | |
| Time | DATE | VT_DATE | |
| DN | BSTR | VT_BSTR | Distinguished Name |
| UTCTIME | BSTR | VT_BSTR | Time string in Universal Coordinated Time format. |
| ORName | BSTR | VT_BSTR | X.400 Originator/Recipient name. |
| IA5String | BSTR | VT_BSTR | String in the IA5 character set. |
| OID | BSTR | VT_BSTR | Object Identifier in dotted decimal form (1.2.3.4.5 etc.) |
| NumericString | BSTR | VT_BSTR | |
| AccessPointDN | BSTR | VT_BSTR | Distinguished Name (used internally by DS) |
| Large Integer | VARIANT | VT_VARIANT | An object |