Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CIM_LocalFileSystem class

The CIM_LocalFileSystem class represents the file store controlled by a computer system through local means (for example, direct device-driver access). The file store can be managed directly by the computer system, without the need for another computer to act as a file server. For a clustered file system, however, the file system is local and, therefore, defers to the cluster.

Important  The DMTF (Distributed Management Task Force) CIM (Common Information Model) classes are the parent classes upon which WMI classes are built. WMI currently supports only the CIM 2.x version schemas.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

class CIM_LocalFileSystem : CIM_FileSystem
{
  uint64   AvailableSpace;
  uint64   BlockSize;
  string   Caption;
  boolean  CasePreserved;
  boolean  CaseSensitive;
  uint16   CodeSet[];
  string   CompressionMethod;
  string   CreationClassName;
  string   CSCreationClassName;
  string   CSName;
  string   Description;
  string   EncryptionMethod;
  uint64   FileSystemSize;
  datetime InstallDate;
  uint32   MaxFileNameLength;
  string   Name;
  boolean  ReadOnly;
  string   Root;
  string   Status;
};

Members

The CIM_LocalFileSystem class has these types of members:

Properties

The CIM_LocalFileSystem class has these properties.

AvailableSpace
Data type: uint64
Access type: Read-only

Amount of free space for the file system, in bytes. If unknown, enter 0. This property is inherited from CIM_FileSystem.

For more information about using uint64 values in scripts, see Scripting in WMI.

BlockSize
Data type: uint64
Access type: Read-only

File systems read/write data, in blocks, which are defined independently of the underlying storage extents. This property captures the file system's block size for data storage and retrieval. This property is inherited from CIM_FileSystem.

For more information about using uint64 values in scripts, see Scripting in WMI.

Caption
Data type: string
Access type: Read-only

Short textual description of the object. This property is inherited from CIM_ManagedSystemElement.

CasePreserved
Data type: boolean
Access type: Read-only

If TRUE, the case of file names are preserved. This property is inherited from CIM_FileSystem.

CaseSensitive
Data type: boolean
Access type: Read-only

If TRUE, case sensitive file names are supported. This property is inherited from CIM_FileSystem.

CodeSet
Data type: uint16 array
Access type: Read-only

Array that defines the character sets or encoding supported by the file system. This property is inherited from CIM_FileSystem.

ValueMeaning
0

Unknown

1

Other

2

ASCII

3

Unicode

4

ISO2022

5

ISO8859

6

Extended UNIX code

7

UTF-8

8

UCS-2

 

CompressionMethod
Data type: string
Access type: Read-only

Free-form string that indicates the algorithm or tool used to compress the logical file. If the compression scheme is unknown or not described, use "Unknown". If the logical file is compressed, but the compression scheme is unknown or not described, use "Compressed". If the logical file is not compressed, use "Not Compressed".

CreationClassName
Data type: string
Access type: Read-only

Name of the class or subclass used in the creation of an instance. When used with other key properties of the class, this property allows all instances of the class and its subclasses to be uniquely identified. This property is inherited from CIM_FileSystem.

CSCreationClassName
Data type: string
Access type: Read-only

Scoping computer system's creation class name. This property is inherited from CIM_FileSystem.

CSName
Data type: string
Access type: Read-only

Scoping computer system's name. This property is inherited from CIM_FileSystem.

Description
Data type: string
Access type: Read-only

Textual description of the object. This property is inherited from CIM_ManagedSystemElement.

EncryptionMethod
Data type: string
Access type: Read-only

Free-form string that identifies the algorithm or tool used to encrypt a logical file. If the encryption scheme is not indulged (for security reasons, for example), use "Unknown". If the file is encrypted, but either its encryption scheme is unknown or not disclosed, use "Encrypted". If the logical file is not encrypted, use "Not Encrypted". This property is inherited from CIM_FileSystem.

FileSystemSize
Data type: uint64
Access type: Read-only

Size of the file system, in bytes. If unknown, enter 0. This property is inherited from CIM_FileSystem.

For more information about using uint64 values in scripts, see Scripting in WMI.

InstallDate
Data type: datetime
Access type: Read-only

Date and time the object was installed. This property does not need a value to indicate that the object is installed. This property is inherited from CIM_ManagedSystemElement.

MaxFileNameLength
Data type: uint32
Access type: Read-only

Maximum length of a file name within the file system. A value of 0 indicates that there is no limit on the file name length. This property is inherited from CIM_FileSystem.

Name
Data type: string
Access type: Read-only

Label by which the object is known. When subclassed, this property can be overridden to be a key property. This property is inherited from CIM_ManagedSystemElement.

ReadOnly
Data type: boolean
Access type: Read-only

If TRUE, the file system is designated as read-only. This property is inherited from CIM_FileSystem.

Root
Data type: string
Access type: Read-only

Path name or other information that defines the root of the file system. This property is inherited from CIM_FileSystem.

Status
Data type: string
Access type: Read-only

Current status of the object. This property is inherited from CIM_ManagedSystemElement.

Values include the following:

"OK"
"Error"
"Degraded"
"Unknown"
"Pred Fail"
"Starting"
"Stopping"
"Service"
"Stressed"
"NonRecover"
"No Contact"
"Lost Comm"

Remarks

The CIM_LocalFileSystem class is derived from CIM_FileSystem.

WMI does not implement this class.

This documentation is derived from the CIM class descriptions published by the DMTF. Microsoft may have made changes to correct minor errors, conform to Microsoft SDK documentation standards, or provide more information.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Namespace

\root\CIMV2

MOF

CIMWin32.mof

DLL

CIMWin32.dll

 

 

Show:
© 2014 Microsoft