英語で読む

次の方法で共有


IIS 6.0 WMI メソッドと IIS 7 以降の WMI メソッド 1 の対応付け

以下の表は、IIS 6.0 WMI プロバイダー クラスのメソッドと IIS 7 WMI プロバイダー クラスのメソッドの対応付けを示しています。 IIS 6.0 WMI クラスのメソッドのほとんどは、IIS 7 WMI プロバイダー クラスのメソッドに対応付けられません。これは、IIS 7 で、プロセスの改善と追加機能の提供のためにアーキテクチャの大幅な変更が実装されたことが理由です。 この表は、IIS 6.0 のプログラムによる管理を、IIS 7 WMI プロバイダーのクラスとメソッドを使うように変換する場合に役立ちます。

メソッドを持たない IIS 6.0 WMI プロバイダー クラスは、この表には記載されていません。 これらのクラスと IIS 7 WMI クラスおよびスキーマ要素との対応付けについては、「メタベース プロパティを構成設定に変換する」を参照してください。

IIS 6.0 WMI クラス IIS 6.0 メソッド IIS 7 WMI クラスまたはメソッド
IIsApplicationPool IIsApplicationPool.EnumAppsInPool ApplicationPoolContainsApplication クラス
IIsApplicationPool IIsApplicationPool.Recycle ApplicationPool.Recycle メソッド
IIsApplicationPool IIsApplicationPool.Start

IIsApplicationPool.Stop
ApplicationPool.Start メソッド

ApplicationPool.Stop メソッド
IIsCertMapper IIsCertMapper.CreateMapping 非推奨
IIsCertMapper IIsCertMapper.DeleteMapping 非推奨
IIsCertMapper IIsCertMapper.GetMapping 非推奨
IIsCertMapper IIsCertMapper.SetAcct 非推奨
IIsCertMapper IIsCertMapper.SetEnabled 非推奨
IIsCertMapper IIsCertMapper.SetName 非推奨
IIsCertMapper IIsCertMapper.SetPwd 非推奨
IIsComputer IIsComputer.BackupWithPassword 非推奨
IIsComputer IIsComputer.DeleteBackup 非推奨
IIsComputer IIsComputer.EnumBackup 非推奨
IIsComputer IIsComputer.EnumHistory 非推奨
IIsComputer IIsComputer.ExportHistory 非推奨
IIsComputer IIsComputer.Export 非推奨
IIsComputer IIsComputer.Import 非推奨
IIsComputer IIsComputer.RestoreHistory 非推奨
IIsComputer IIsComputer.RestoreWithPassword 非推奨
IIsComputer IIsComputer.SaveData 非推奨。IIS 7 での関連する機能の構成については、ConfigurationHistorySection クラスを参照してください。
IIsFTPServer IIsFTPServer.Continue IIS 6.0 の WMI クラスとメソッドを使用します。
IIsFTPServer IIsFTPServer.Pause IIS 6.0 の WMI クラスとメソッドを使用します。
IIsFTPServer IIsFTPServer.Start IIS 6.0 の WMI クラスとメソッドを使用します。
IIsFTPServer IIsFTPServer.Stop IIS 6.0 の WMI クラスとメソッドを使用します。
IIsWebDirectory IIsWebDirectory.AppCreate 非推奨。Application.Create メソッドを使用します。
IIsWebDirectory IISWebDirectory.AppCreate2 非推奨。Application.Create メソッドを使用します。
IIsWebDirectory IIsWebDirectory.AppCreate3 非推奨。Application.Create メソッドを使用します。
IIsWebDirectory IIsWebDirectory.AppDelete 非推奨。Application クラスによって継承される Delete_ メソッドを使用します。
IIsWebDirectory IIsWebDirectory.AppDisable 非推奨
IIsWebDirectory IIsWebDirectory.AppEnable 非推奨
IIsWebDirectory IIsWebDirectory.AppGetStatus 非推奨。同様の機能を持つ Site.GetStateWorkerProcess.GetState、または ApplicationPool.GetState メソッドを使用します。
IIsWebDirectory IISWebDirectory.AppUnload 非推奨。AppDomain.Unload メソッドを使用します。
IIsWebDirectory IISWebDirectory.AspAppRestart 非推奨
IIsWebServer IIsWebServer.Start 非推奨。ApplicationPool.Start メソッドまたは Site.Start メソッドを使用します。
IIsWebServer IIsWebServer.Stop 非推奨。ApplicationPool.Stop メソッドまたは Site.Stop メソッドを使用します。
IIsWebServer IIsWebServer.Continue 非推奨
IIsWebServer IIsWebServer.Pause 非推奨
IIsWebService IIsWebService.AddDependency 非推奨
IIsWebService IIsWebService.AddExtension 非推奨。関連する構成については、IsapiCgiRestrictionSection クラスを参照してください。
IIsWebService IIsWebService.CreateNewSite 非推奨。Site.Create メソッドを使用します。
IIsWebService IIsWebService.DisableExtensionFileRecord 非推奨
IIsWebService IIsWebService.DisableExtensionFile 非推奨
IIsWebService IIsWebService.DisableWebServiceExtension 非推奨
IIsWebService IIsWebService.EnableApplication 非推奨
IIsWebService IIsWebService.EnableExtensionFile 非推奨
IIsWebService IIsWebService.EnableWebServiceExtension 非推奨
IIsWebService IIsWebService.GetCurrentMode 非推奨
IIsWebService IIsWebService.ListApplications 非推奨。代わりに Application クラスのインスタンスを一覧表示します。
IIsWebService IIsWebService.ListExtensionFiles 非推奨
IIsWebService IIsWebService.ListWebServiceExtensions 非推奨
IIsWebService IIsWebService.QueryGroupIDStatus 非推奨
IIsWebService IIsWebService.RemoveApplication 非推奨。Application クラスによって継承される Delete_ メソッドを使用します。
IIsWebService IIsWebService.RemoveDependency 非推奨
IIsWebVirtualDir IIsWebVirtualDir.AppCreate Application.Create メソッド、VirtualDirectory.Create メソッド
IIsWebVirtualDir IIsWebVirtualDir.AppCreate2 Application.Create メソッド、VirtualDirectory.Create メソッド
IIsWebVirtualDir IIsWebVirtualDir.AppCreate3 Application.Create メソッド、VirtualDirectory.Create メソッド
IIsWebVirtualDir IIsWebVirtualDir.AppDelete 非推奨。アプリケーションの場合は Application クラスによって継承された Delete_ メソッドを、仮想ディレクトリの場合は VirtualDirectory クラスによって継承された Delete_ メソッドを使用します。
IIsWebVirtualDir IIsWebVirtualDir.AppDisable 非推奨
IIsWebVirtualDir IIsWebVirtualDir.AppEnable 非推奨
IIsWebVirtualDir IIsWebVirtualDir.AppGetStatus 非推奨。ApplicationPool.GetState メソッドまたは Site.GetState メソッドを使用します。
IIsWebVirtualDir IIsWebVirtualDir.AppUnload 非推奨。AppDomain.Unload メソッドを使用します。
IIsWebVirtualDir IIsWebVirtualDir.AspAppRestart 非推奨。ApplicationPool.Recycle メソッドを使用します。