Szerkesztés

Megosztás a következőn keresztül:


CIM_RemoteFileSystem class

The CIM_RemoteFileSystem class represents a remote file system that is accessed by way of a network-related service. In this case, the file store is hosted by a computer, which acts as a file server. For example, the file store for an NFS file system is typically not on a computer system's locally controlled media, nor is it directly accessed through a device driver. Subclasses of CIM_RemoteFileSystem contain client-side configuration information related to the access of the file system.

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 of its inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

[Abstract, UUID("{75BCF4F9-DB46-11D2-B4C8-80080C7B6371}"), AMENDMENT]
class CIM_RemoteFileSystem : 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_RemoteFileSystem class has these types of members:

Properties

The CIM_RemoteFileSystem class has these properties.

AvailableSpace

Data type: uint64

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|Partition|002.4"), Units ("bytes")

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

Qualifiers: Units ("bytes")

Size, in bytes, of the blocks that form the storage extent. If unknown, or if a block concept is not valid, (for example, for aggregate extents, memory, or logical disks), enter a 1 (one).

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

Qualifiers: MaxLen (64), DisplayName ("Caption")

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

Character sets or encoding supported by the file system. This property is inherited from CIM_FileSystem.

Unknown (0)

Other (1)

ASCII (2)

Unicode (3)

ISO2022 (4)

ISO8859 (5)

Extended UNIX Code (6)

UTF-8 (7)

UCS-2 (8)

CompressionMethod

Data type: string

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|Partition|002.7")

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".

This property is inherited from CIM_FileSystem.

CreationClassName

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen (256)

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

Qualifiers: Key, MaxLen (256), Propagated ("CIM_ComputerSystem.CreationClassName")

Scoping computer system's creation class name.

This property is inherited from CIM_FileSystem.

CSName

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen (256), Propagated ("CIM_ComputerSystem.Name")

Scoping computer system's name.

This property is inherited from CIM_FileSystem.

Description

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Description")

Textual description of the object.

This property is inherited from CIM_ManagedSystemElement.

EncryptionMethod

Data type: string

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|Partition|002.8")

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

Qualifiers: Units ("bytes")

Total 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

Qualifiers: MappingStrings ("MIF.DMTF|ComponentID|001.5"), DisplayName ("Install Date")

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 file name length is unlimited.

This property is inherited from CIM_FileSystem.

Name

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Name")

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

Qualifiers: MappingStrings ("MIB.IETF|HOST-RESOURCES-MIB.hrFSAccess")

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

Qualifiers: MappingStrings ("MIB.IETF|HOST-RESOURCES-MIB.hrFSMountPoint")

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

Qualifiers: MaxLen (10), DisplayName ("Status")

Current status of the object.

This property is inherited from CIM_ManagedSystemElement.

Values include the following:

OK ("OK")

Error ("Error")

Degraded ("Degraded")

Unknown ("Unknown")

Pred Fail ("Pred Fail")

Starting ("Starting")

Stopping ("Stopping")

Service ("Service")

Stressed ("Stressed")

NonRecover ("NonRecover")

No Contact ("No Contact")

Lost Comm ("Lost Comm")

Remarks

The CIM_RemoteFileSystem 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

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\CIMV2
MOF
CIMWin32.mof
DLL
CIMWin32.dll

See also

CIM_FileSystem