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
前往 Aspnet_isapi.dll 註冊 keyPath的路徑。
- flags
- Int32
註冊時應採用的行為 Aspnet_isapi.dll。
實作
備註
欲了解更多關於使用 AspNetManagementUtility 類別與 Microsoft Management Console(MMC)程式設計的資訊,請參閱 MMC 程式設計師指南。