現在想通過ADSI取得IIS各個節點的屬性。
IIS的樹狀結構:
Localhost (IIsComputer)
IISADMIN (IIsObject)
EXTENSIONS (IIsObject)
PROPERTYREGISTRATION (IIsObject)
Logging (IIsLogModules)
Custom Logging (IISCustomLogModule)
NCSA Common Log File Format (IIsLogModule)
ODBC Logging (IIsLogModule)
Microsoft IIS Log File Format (IIsLogModule)
W3C Extended Log File Format (IIsLogModule)
W3SVC (IIsWebService)
Info (IIsWebInfo)
1 - 預設的 Web 站台 (IIsWebServer)
Filters (IIsFilters)
2 - 系統管理 Web 站台 (IIsWebServer)
MimeMap (IIsMimeMap)
MSFTPSVC (IIsFtpService)
1 - 預設的 FTP 站台 (IIsFtpServer)
Info (IIsFtpInfo)
SmtpSvc (IIsSmtpService)
Info (IIsObject)
1 (IIsSmtpServer)
EventManager (IIsObject)
SourceTypes (IIsObject)
NNTPSVC (IIsNntpService)
1 (IIsNntpServer)
Info (IIsObject)
請各位大俠給出代碼,謝謝,繼續加分中
IIS的樹狀結構:
Localhost (IIsComputer)
IISADMIN (IIsObject)
EXTENSIONS (IIsObject)
PROPERTYREGISTRATION (IIsObject)
Logging (IIsLogModules)
Custom Logging (IISCustomLogModule)
NCSA Common Log File Format (IIsLogModule)
ODBC Logging (IIsLogModule)
Microsoft IIS Log File Format (IIsLogModule)
W3C Extended Log File Format (IIsLogModule)
W3SVC (IIsWebService)
Info (IIsWebInfo)
1 - 預設的 Web 站台 (IIsWebServer)
Filters (IIsFilters)
2 - 系統管理 Web 站台 (IIsWebServer)
MimeMap (IIsMimeMap)
MSFTPSVC (IIsFtpService)
1 - 預設的 FTP 站台 (IIsFtpServer)
Info (IIsFtpInfo)
SmtpSvc (IIsSmtpService)
Info (IIsObject)
1 (IIsSmtpServer)
EventManager (IIsObject)
SourceTypes (IIsObject)
NNTPSVC (IIsNntpService)
1 (IIsNntpServer)
Info (IIsObject)
請各位大俠給出代碼,謝謝,繼續加分中
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货