ObjectSecurity.SetAccessRuleProtection メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ObjectSecurity.SetAccessRuleProtection メソッドの意味・解説 

ObjectSecurity.SetAccessRuleProtection メソッド

メモ : このメソッドは、.NET Framework version 2.0 で新しく追加されたものです。

この ObjectSecurity オブジェクトに関連付けられたアクセス規則の保護を設定または削除します。保護されたアクセス規則を親オブジェクトから継承を通じて変更することはできません。

名前空間: System.Security.AccessControl
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Public Sub SetAccessRuleProtection ( _
    isProtected As Boolean, _
    preserveInheritance As Boolean _
)
Dim instance As ObjectSecurity
Dim isProtected As Boolean
Dim preserveInheritance As Boolean

instance.SetAccessRuleProtection(isProtected, preserveInheritance)
public void SetAccessRuleProtection (
    bool isProtected,
    bool preserveInheritance
)
public:
void SetAccessRuleProtection (
    bool isProtected, 
    bool preserveInheritance
)
public void SetAccessRuleProtection (
    boolean isProtected, 
    boolean preserveInheritance
)
public function SetAccessRuleProtection (
    isProtected : boolean, 
    preserveInheritance : boolean
)

パラメータ

isProtected

この ObjectSecurity オブジェクトに関連付けられたアクセス規則を継承から保護する場合は true。継承を許可する場合は false。

preserveInheritance

継承されたアクセス規則を保存する場合は true。継承されたアクセス規則を削除する場合は false。isProtected が false の場合、このパラメータは無視されます。

例外例外
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ObjectSecurity クラス
ObjectSecurity メンバ
System.Security.AccessControl 名前空間



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

ObjectSecurity.SetAccessRuleProtection メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



ObjectSecurity.SetAccessRuleProtection メソッドのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS