CIM_LogicalFile¶
Class reference¶
Subclass of CIM_LogicalElement
A LogicalFile is a named collection of data or executable code, or represents a LogicalDevice or Directory. It is located within the context of a FileSystem, on a Storage Extent.
Key properties¶
Local properties¶
boolean Executable
Indicates the file is executable.
string CSName
The scoping ComputerSystem’s Name.
boolean Readable
Boolean indicating that the File can be read.
string EncryptionMethod
A free form string indicating the algorithm or tool used to encrypt the LogicalFile. If it is not possible or not desired to describe the encryption scheme (perhaps for security reasons), recommend using the following words: “Unknown” to represent that it is not known whether the LogicalFile is encrypted or not, “Encrypted” to represent that the File is encrypted but either its encryption scheme is not known or not disclosed, and “Not Encrypted” to represent that the LogicalFile is not encrypted.
datetime LastAccessed
Time that the File was last accessed.
string FSCreationClassName
The scoping FileSystem’s CreationClassName.
uint64 InUseCount
Integer indicating the number of ‘file opens’ that are currently active against the File.
datetime LastModified
Time that the File was last modified.
string CompressionMethod
A free form string indicating the algorithm or tool used to compress the LogicalFile. If it is not possible or not desired to describe the compression scheme (perhaps because it is not known), recommend using the following words: “Unknown” to represent that it is not known whether the LogicalFile is compressed or not, “Compressed” to represent that the File is compressed but either its compression scheme is not known or not disclosed, and “Not Compressed” to represent that the LogicalFile is not compressed.
boolean Writeable
Boolean indicating that the File can be written.
string Name
The inherited Name serves as part of the key of a LogicalFile instance within a FileSystem. A unique identifier (such as a full path name) is required as a Name value. Since Files are weak to their FileSystem (and not to a Directory which would provide a more granular naming algorithm), care must be taken to make LogicalFile’s Name unique for a given Creation ClassName and FileSystem. A full path name is one way to do this.
string FSName
The scoping FileSystem’s Name.
string CSCreationClassName
The scoping ComputerSystem’s CreationClassName.
uint64 FileSize
Size of the File in bytes.
string CreationClassName
CreationClassName indicates the name of the class or the subclass used in the creation of an instance. When used with the other key properties of this class, this property allows all instances of this class and its subclasses to be uniquely identified.
datetime CreationDate
File’s creation date.
Local methods¶
None
Inherited properties¶
uint16 DetailedStatus
string[] StatusDescriptions
string InstanceID
uint16 HealthState
string Status
uint16 CommunicationStatus
string ElementName
string Description
datetime InstallDate
string Caption
uint16 PrimaryStatus
uint64 Generation
uint16[] OperationalStatus
uint16 OperatingStatus
Inherited methods¶
None