Share via


CommonSecurityDescriptor.AddSystemAcl(Byte, Int32) 方法

定義

設定這個 CommonSecurityDescriptor 執行個體的 SystemAcl 屬性,並設定 SystemAclPresent 旗標。

public:
 void AddSystemAcl(System::Byte revision, int trusted);
public void AddSystemAcl (byte revision, int trusted);
member this.AddSystemAcl : byte * int -> unit
Public Sub AddSystemAcl (revision As Byte, trusted As Integer)

參數

revision
Byte

SystemAcl 物件的修訂層級。

trusted
Int32

SystemAcl 物件可以容納的存取控制項目 (ACE) 數。 這個數字只應用作提示。

備註

SystemAcl建構函式會IsContainer針對這個 CommonSecurityDescriptor使用和 IsDS 屬性。

適用於