다음을 통해 공유


FileSystemAccessLevel Enum

Definition

Access level of a file or directory.

public enum class FileSystemAccessLevel
public enum FileSystemAccessLevel
type FileSystemAccessLevel = 
Public Enum FileSystemAccessLevel
Inheritance
FileSystemAccessLevel

Fields

Name Value Description
Unknown 0

Access level is unknown. This may happen if the IFileSystemAuthorizationService is used in context where access can be restricted but the service cannot get more details, e.g. when it is used locally on Live Share guest or Codespaces client. Another case is when file or directory URI scheme is not known.

LocalOrShared 1

File or directory can be accessed without restrictions because it is local, or it is shared in a Live Share or Codespaces session, and can be accessed by the session participant. This doesn't take into account ACLs or other ways to restrict access in local file system.

Hidden 2

File or directory is hidden from callers via file attribute, or collaboration session is active and the file or directory is hidden via session configuration. The calling session participant can still access the file.

ExcludedFromSharing 3

Collaboration session is active, and the file or directory is explicitly excluded from the caller via session configuration. The caller session participant cannot access the file.

NotShared 4

Collaboration session is active, and the file or directory is not shared with the caller in the session because it is outside of any shared directory. The caller session participant cannot access the file.

Applies to