AspNetManagementUtility.ChangeScriptMap(String, String, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將 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 程式設計人員指南。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應