文件操作 - CIM_Location.mof
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/mof/cimv2.43.0/Core/CIM_Location.mof
编辑文件内容
// Copyright (c) 2005 DMTF. All rights reserved. [Version ( "2.10.0" ), UMLPackagePath ( "CIM::Core::Physical" ), Description ( "The Location class specifies the position and address of a " "PhysicalElement." )] class CIM_Location : CIM_ManagedElement { [Key, Description ( "Name is a free-form string defining a label for the " "Location. It is a part of the key for the object." ), MaxLen ( 256 )] string Name; [Key, Description ( "Position is a free-form string that indicates the " "placement of a PhysicalElement. It can specify slot " "information on a HostingBoard, mounting site in a " "Cabinet, or latitude and longitude information, for " "example, from a GPS. It is part of the key of the " "Location object." ), MaxLen ( 256 )] string PhysicalPosition; [Description ( "Address is a free-form string indicating a street, " "building, or other type of address for the location of " "the PhysicalElement." ), MaxLen ( 1024 )] string Address; };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件