語言

FileIOPermissionAttribute.ViewAccessControl 屬性

定義

取得或設定可查看存取控制資訊的檔案或目錄。

public:
 property System::String ^ ViewAccessControl { System::String ^ get(); void set(System::String ^ value); };
public string ViewAccessControl { get; set; }
member this.ViewAccessControl : string with get, set
Public Property ViewAccessControl As String

屬性值

存取控制資訊可瀏覽的檔案或目錄的絕對路徑。

備註

此特性可取得或設定單一檔案或目錄的存取權。 使用額外 FileIOPermissionAttribute 屬性來指定額外的檔案和目錄。

Important

存取控制清單(ACL)描述了對特定檔案及其屬性擁有或不擁有特定操作權限的個人或團體。 能夠查看ACL是一項重要的許可,應謹慎授予。

適用於