ScriptingProfileServiceSection.ReadAccessProperties 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定讀取權限設定檔屬性。
public:
property cli::array <System::String ^> ^ ReadAccessProperties { cli::array <System::String ^> ^ get(); void set(cli::array <System::String ^> ^ value); };
[System.Configuration.ConfigurationProperty("readAccessProperties", DefaultValue=null)]
public string[] ReadAccessProperties { get; set; }
[<System.Configuration.ConfigurationProperty("readAccessProperties", DefaultValue=null)>]
member this.ReadAccessProperties : string[] with get, set
Public Property ReadAccessProperties As String()
屬性值
String[]
包含了讀取存取權限設定檔屬性之名稱的陣列。
- 屬性
備註
若要在已啟用 AJAX 的應用程式中使用讀取存取配置檔案屬性,請將一或多個配置檔案屬性名稱新增至 ReadAccessProperties 屬性。
您可以將 設定 ReadAccessProperties 為空字串陣列。 這表示不允許從用戶端腳本讀取任何配置檔案屬性。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應