Class CIM_LogicalFile
extends 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.

Table of Contents
Hierarchy
Direct Known Subclasses
Class Qualifiers
Class Properties
Class Methods


Class Hierarchy

CIM_ManagedElement
   |
   +--CIM_ManagedSystemElement
   |
   +--CIM_LogicalElement
   |
   +--CIM_LogicalFile

Direct Known Subclasses

CIM_DataFile
CIM_DeviceFile
CIM_Directory
CIM_FIFOPipeFile
CIM_SymbolicLink

Class Qualifiers

NameData TypeValue
DescriptionstringA 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.
UMLPackagePathstringCIM::System::FileElements
Versionstring2.6.0

Class Properties

Local Class Properties

NameData TypeDefault ValueQualifiers
NameData TypeValue
CompressionMethodstring
DescriptionstringA 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.
CreationClassNamestring
DescriptionstringCreationClassName 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.
Keybooleantrue
MaxLenuint32256
CreationDatedatetime
DescriptionstringFile's creation date.
CSCreationClassNamestring
DescriptionstringThe scoping ComputerSystem's CreationClassName.
Keybooleantrue
MaxLenuint32256
PropagatedstringCIM_FileSystem.CSCreationClassName
CSNamestring
DescriptionstringThe scoping ComputerSystem's Name.
Keybooleantrue
MaxLenuint32256
PropagatedstringCIM_FileSystem.CSName
EncryptionMethodstring
DescriptionstringA 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.
Executableboolean
DescriptionstringIndicates the file is executable.
FileSizeuint64
DescriptionstringSize of the File in bytes.
Gaugebooleantrue
UnitsstringBytes
FSCreationClassNamestring
DescriptionstringThe scoping FileSystem's CreationClassName.
Keybooleantrue
MaxLenuint32256
PropagatedstringCIM_FileSystem.CreationClassName
FSNamestring
DescriptionstringThe scoping FileSystem's Name.
Keybooleantrue
MaxLenuint32256
PropagatedstringCIM_FileSystem.Name
InUseCountuint64
Counterbooleantrue
DescriptionstringInteger indicating the number of 'file opens' that are currently active against the File.
LastAccesseddatetime
DescriptionstringTime that the File was last accessed.
LastModifieddatetime
DescriptionstringTime that the File was last modified.
Namestring
DescriptionstringThe 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.
Keybooleantrue
MaxLenuint321024
OverridestringName
Readableboolean
DescriptionstringBoolean indicating that the File can be read.
Writeableboolean
DescriptionstringBoolean indicating that the File can be written.

Inherited Properties

NameData TypeClass Origin
CaptionstringCIM_ManagedElement
CommunicationStatusuint16CIM_ManagedSystemElement
DescriptionstringCIM_ManagedElement
DetailedStatusuint16CIM_ManagedSystemElement
ElementNamestringCIM_ManagedElement
HealthStateuint16CIM_ManagedSystemElement
InstallDatedatetimeCIM_ManagedSystemElement
InstanceIDstringCIM_ManagedElement
OperatingStatusuint16CIM_ManagedSystemElement
PrimaryStatusuint16CIM_ManagedSystemElement
StatusstringCIM_ManagedSystemElement
OperationalStatusuint16[]CIM_ManagedSystemElement
StatusDescriptionsstring[]CIM_ManagedSystemElement

Class Methods