To determine which properties can be used at each level in the IIS Metabase, refer to the property inheritances in Table 10.1. Using this table you can reduce automation errors during development by calling properties that are appropriate to each entry in the Metabase.
For example, as the table shows, the ServerComment property is available only at the IIsFTPServer level, and is not inherited by the IIsFTPVirtualDir object. If you attempt to assign a new value to the ServerComment property while you are bound to a site's virtual directory, an automation error occurs.
Property | IIsFTPServer | IIsFTPVirtualDir |
---|---|---|
AccessFlags | + | + |
AccessRead | + | + |
AccessWrite | + | + |
AdminACL | + | “ |
AllowAnonymous | + | “ |
AnonymousOnly | + | “ |
AnonymousPasswordSync | + | “ |
AnonymousUserName | + | “ |
AnonymousUserPass | + | “ |
ConnectionTimeout | + | “ |
DefaultLogonDomain | + | “ |
DontLog | + | + |
ExitMessage | + | “ |
GreetingMessage | + | “ |
IPSecurity | + | + |
LogAnonymous | + | “ |
LogExtFileBytesRecv | + | “ |
LogExtFileBytesSent | + | “ |
LogExtFileClientIp | + | “ |
LogExtFileComputerName | + | “ |
LogExtFileCookie | + | “ |
LogExtFileDate | + | “ |
LogExtFileFlags | + | “ |
LogExtFileHttpStatus | + | “ |
LogExtFileMethod | + | “ |
LogExtFileProtocolVersion | + | “ |
LogExtFileReferer | + | “ |
LogExtFileServerIp | + | “ |
LogExtFileServerPort | + | “ |
LogExtFileSiteName | + | “ |
LogExtFileTime | + | “ |
LogExtFileTimeTaken | + | “ |
LogExtFileUriQuery | + | “ |
LogExtFileUriStem | + | “ |
LogExtFileUserAgent | + | “ |
LogExtFileUserName | + | “ |
LogExtFileWin32Status | + | “ |
LogFileDirectory | + | “ |
LogFilePeriod | + | “ |
LogFileTruncateSize | + | “ |
LogNonAnonymous | + | “ |
LogOdbcDataSource | + | “ |
LogOdbcPassword | + | “ |
LogOdbcTableName | + | “ |
LogOdbcUserName | + | “ |
LogPluginClsId | + | “ |
LogType | + | “ |
MaxClientsMessage | + | “ |
MaxConnections | + | “ |
MaxEndpointConnections | + | “ |
MSDOSDirOutput | + | “ |
Path | “ | + |
Realm | + | “ |
ServerAutoStart | + | “ |
ServerBindings | + | “ |
ServerComment | + | “ |
ServerListenBacklog | + | “ |
ServerListenTimeout | + | “ |
ServerSize | + | “ |
ServerState | + | “ |
UNCPassword | “ | + |
UNCUserName | + |
Top |