共用方式為


AspNetManagementUtility.ChangeScriptMap(String, String, Int32) 方法

定義

dllInstall 參數所指定的 Aspnet_isapi.dll 版本,註冊至 keyPath 參數所指定的 Microsoft Internet Information Services (IIS) 虛擬路徑。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public:
 virtual void ChangeScriptMap(System::String ^ keyPath, System::String ^ dllInstall, int flags);
public void ChangeScriptMap (string keyPath, string dllInstall, int flags);
abstract member ChangeScriptMap : string * string * int -> unit
override this.ChangeScriptMap : string * string * int -> unit
Public Sub ChangeScriptMap (keyPath As String, dllInstall As String, flags As Integer)

參數

keyPath
String

要將 Aspnet_isapi.dll 註冊於其中的虛擬路徑,此虛擬路徑是由傳入至 dllInstall 的路徑所指定。

dllInstall
String

要向 keyPath 註冊之 Aspnet_isapi.dll 的路徑。

flags
Int32

要在註冊 Aspnet_isapi.dll 時使用的行為。

實作

備註

如需使用 AspNetManagementUtility 類別進行程式設計的詳細資訊,以及 Microsoft Management Console (MMC) ,請參閱 MMC 程式設計人員指南

適用於