Determining Property Inheritance

   

Determining Property Inheritance

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.

Table 10.1. Property Support for IIsFTPServer and IIsFTPVirtualDir Interfaces
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


Windows NT. 2000 ADSI Scripting for System Administration
Windows NT/2000 ADSI Scripting for System Administration
ISBN: 1578702194
EAN: 2147483647
Year: 2000
Pages: 194
Authors: Thomas Eck

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net