首页蓝耳朵|小小蓝耳朵广州图书馆外文室英语儿童读物资源介绍网佛教青年之友旧版收集永硕E盘Phonics Short Vowels Game 
用C#控制win2003Server的IIS6用到的资料
所属栏目:winform  时间:2011-07-26 20:34  作者:狼子

基础资料:
DirectoryEntry Class
http://msdn.microsoft.com/zh-cn/library/system.directoryservices.directoryentry.aspx

IIS Metabase Properties
http://msdn.microsoft.com/en-us/library/ms525644(v=VS.90).aspx

IIS Glossary
http://msdn.microsoft.com/en-us/library/ms524469(v=vs.90).aspx

IADsUser Interface
http://msdn.microsoft.com/en-us/library/Aa746340


20110726找到的源码:用程序的方法在IIS建立站点或虚拟目录
http://blog.csdn.net/wine_FenghuaYu/article/details/1485403


学习该原码时查询到的各种资料:

设置网站信息里用到的各种属性:
IIsWebServer (ADSI)
http://msdn.microsoft.com/en-us/library/ms524487(v=vs.90).aspx

KeyType Metabase Property (IIS 6.0)
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/ffdacb2b-ffa3-43e4-aeaa-aa0743d7e5c7.mspx?mfr=true

ServerBindings Metabase Property (IIS 6.0)
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/0ed054d1-ca3a-495f-bad4-3a251e5a07a3.mspx?mfr=true
The ServerBindings property specifies a string that IIS uses to determine which network endpoints are used by the server instance.
The string format is IP:Port:Hostname.

ServerState Metabase Property (IIS 6.0)
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/2746874d-062a-4153-83a2-2fc07242ce9c.mspx?mfr=true
The ServerState property presents the current state of the server instance. The state codes, and the corresponding states, are as follows:
1 (starting)
2 (started)
3 (stopping)
4 (stopped)
5 (pausing)
6 (paused)
7 (continuing)

FrontPageWeb Metabase Property (IIS 6.0)
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/1c9ce429-de51-4a7c-ac3e-f5fe9a64c7c4.mspx?mfr=true
The FrontPageWeb property indicates whether a server instance will be targeted by Microsoft FrontPage.
Setting FrontPageWeb to true causes FrontPage Manager to create the files required for FrontPage Server Extensions.
Setting FrontPageWeb to false causes these files to be deleted.


SecureBindings Metabase Property (IIS 6.0)
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/76efaf85-033b-4167-921e-9a0c40d671f3.mspx?mfr=true
The SecureBindings property specifies a string that is used by IIS to determine which secure network endpoints are used by the server instance.
The string format is IP:Port.


ServerSize Metabase Property (IIS 6.0)
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/37f0867a-54bb-44f1-bdb0-5c8090dde519.mspx?mfr=true
The ServerSize property specifies the general size of the server, in terms of the number of client requests processed per day.
A value of 0 (zero) indicates a small Web site that expects to receive fewer than 10,000 requests per day;
a value of 1 indicates a medium site handling between 10,000 and 100,000 requests per day;
and a value of 2 designates a large site, processing more than 100,000 requests a day.


The SetInfo Method
http://msdn.microsoft.com/en-us/library/aa746506(v=vs.85).aspx

 

设置虚拟目录时用到的各种属性:
AppIsolated Metabase Property (IIS 6.0)
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/bd29f59f-7e75-49bb-9146-71b0db817187.mspx?mfr=true
The AppIsolated property indicates whether an application is to run in-process, out-of-process, or in a pooled-process.
A value of 0 indicates that the application is to run in-process,
a value of 1 indicates out-of-process,
and a value of 2 indicates a pooled-process.
Use the application management methods of the IIsWebVirtualDir and IIsWebDirectory objects to set the process space for your application.

in-process:Internet Server API (ISAPI) extensions or ASP files that are hosted in the same process as IIS. Application modes can be set on the virtual directories that contain the ISAPI DLLs or ASP files. ISAPI filters always run in-process which means they run in the W3wp.exe process on IIS 6.0 in worker process isolation mode, and they run in the Inetinfo.exe process on IIS 4.0, IIS 5.0, IIS 5.1, and on IIS 6.0 in IIS 5.0 isolation mode. Also called low isolation.

out-of-process:Internet Server API (ISAPI) extensions or ASP files that are hosted in a separate process than IIS. On IIS 4.0, IIS 5.0, IIS 5.1, and on IIS 6.0 in IIS 5.0 isolation mode, ISAPI DLLs and ASP files run in a surrogate process called DLLHOST.exe, which is managed by COM+. Also called high isolation.

pooled-process:On IIS 4.0, IIS 5.0, IIS 5.1, and on IIS 6.0 in IIS 5.0 isolation mode, a special Web Application Manager (WAM) package that hosts all out-of-process Internet Server API (ISAPI) extensions and ASP files that are set to medium isolation within the same DLLHOST.exe process, which is managed by COM+. Also called pooled out-of-process (POOL), or medium isolation.


AccessFlags Metabase Property (IIS 6.0)
http://msdn.microsoft.com/en-us/library/ms525016

IIsWebVirtualDir.AppCreate (WMI)
http://msdn.microsoft.com/en-us/library/ms524717(v=vs.90).aspx

小楼宝宝的涂鸦花花(Imitater)的博客起名称骨测字皖ICP备06000023号-17