CommonSecurityDescriptor.AddSystemAcl(Byte, Int32) 方法
本文內容
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定這個 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)
的SystemAcl建構函式會IsContainer針對這個 CommonSecurityDescriptor使用和 IsDS 屬性。
產品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1, 6 (package-provided), 6, 7 (package-provided), 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10 |
.NET Framework | 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Windows Desktop | 3.0, 3.1, 5 |