## ADSI vs. Base Object Data Types

The ADSI property data types can be used at the scripting level, whereas the IIS Admin Base Object data types are used only when writing code that uses the IIS Admin Base Object. The difference stems from the fact that scripting languages such as Microsoft® JScript® and Visual Basic® Scripting Edition (VBScript) have dissimilar data type implementations when compared to languages such as C and C++.

Use the following table as a reference for ADSI data types, to find the corresponding data type for the IIS Admin Base Object.

ADSI Data Type | Base Object Data Type
Long, Boolean, Integer | DWORD_METADATA
String | STRING_METADATA
ExpandSz | EXPANDSZ_METADATA
IPSec, NTACL | BINARY_METADATA
List | MULTISZ_METADATA
MimeMapList | MULTISZ_METADATA

© 1997-2001 Microsoft Corporation. All rights reserved.