文件操作 - CIM_ExportedFileShareCapabilities.mof
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/mof/cimv2.33.0/System/CIM_ExportedFileShareCapabilities.mof
编辑文件内容
// Copyright (c) 2005 DMTF. All rights reserved. // <change cr="ArchCR00066.004" type="add">Add UmlPackagePath // qualifier values to CIM Schema.</change> // ================================================================== // CIM_ExportedFileShareCapabilities // ================================================================== [Experimental, Version ( "2.8.1000" ), UMLPackagePath ( "CIM::System::FileServices" ), Description ( "ExportedFileShareCapabilities specifies the combination of " "properties that a FileExportService can support when creating " "or maintaining FileShares. Each supported combination of " "properties is specified by a ExportedFileShareSetting that is " "associated with the ExportedFileShareCapabilities element via " "SettingAssociatedToCapabilities. \n" "An ExportedFileShareCapabilities element specifies the " "properties supported when using it. A CreateGoal method is " "provided that creates an ExportedFileShareSetting element to " "be used as a goal when creating or modifying a file share." )] class CIM_ExportedFileShareCapabilities : CIM_Capabilities { [Description ( "An enumerated integer indicating the filesharing " "protocol that this share can support. All settings " "associated with this Capabilities must have the same " "value for the FileSharingProtocol property. This " "property must exist and have a value." ), ValueMap { "0", "2", "3", "4", "5", "6", "7", "..", "0x8000.." }, Values { "Unknown", "NFS", "CIFS", "DAFS", "WebDAV", "HTTP", "FTP", "DMTF Reserved", "Vendor Defined" }, Read, ModelCorrespondence { "CIM_ImportedFileShareSetting.FileSharingProtocol", "CIM_ExportedFileShareSetting.FileSharingProtocol", "CIM_ExportedFileShareCapabilities.ProtocolVersions" }] uint16 FileSharingProtocol; [Description ( "An array of strings listing the versions of the file " "sharing protocol that can be supported via these " "capabilities. All settings associated with this " "Capabilities must have a non-empty subset of these " "values in the corresponding ProtocolVersions property." ), Read, ModelCorrespondence { "CIM_ExportedFileShareSetting.ProtocolVersions", "CIM_ImportedFileShareSetting.ProtocolVersions", "CIM_ExportedFileShareCapabilities.FileSharingProtocol" }] string ProtocolVersions[]; [Description ( "An array of property names of the Setting that this " "Capabilities element supports." ), ValueMap { "2", "3", "4", "5", "6", "7", "8", "..", "0x8000.." }, Values { "DefaultReadWrite", "DefaultExecute", "DefaultUserId", "RootAccess", "WritePolicy", "AccessPoints", "InitialEnabledState", "DMTF Reserved", "Vendor Defined" }, Read] uint16 SupportedProperties[]; [Description ( "Start a job to create an ExportedFileShareSetting from " "an ExportedFileShareSetting provided by the caller. If " "the operation completes successfully and did not require " "a long-running ConcreteJob, it will return 0. If " "4096/0x1000 is returned, a ConcreteJob will be started " "to create the element. A Reference to the ConcreteJob " "will be returned in the output parameter Job. \n" "This method MAY return a CIM_Error representing that a " "single named property of a setting (or other) parameter " "(either reference or embedded object) has an invalid " "value or that an invalid combination of named properties " "of a setting (or other) parameter (either reference or " "embedded object) has been requested. \n" "If the input TemplateGoal is NULL or the empty string, " "this method returns a default ExportedFileShareSetting " "that is supported by this ExportedFileShareCapabilities. \n" "The output is returned as the SupportedGoal parameter. " "Both TemplateGoal and SupportedGoal are embedded objects " "and do not exist in the provider but are maintained by " "the client. \n" "If the TemplateGoal specifies values that cannot be " "supported, this method must return an appropriate error " "and should return a best match for a SupportedGoal." ), ValueMap { "0", "1", "2", "3", "4", "5", "6", "..", "4096", "4097..32767", "32768..65535" }, Values { "Job Completed with No Error", "Not Supported", "Unknown", "Timeout", "Failed", "Invalid Parameter", "Template Goal cannot be matched.", "DMTF Reserved", "Method Parameters Checked - Job Started", "Method Reserved", "Vendor Specific" }] uint16 CreateGoal( [IN ( false ), OUT, Description ( "Reference to the job (may be null if job completed)." )] CIM_ConcreteJob REF Job, [IN, Description ( "This is an element of the " "CIM_ExportedFileShareSetting class, or a derived " "class, encoded as a string-valued embedded object " "parameter. It specifies the goal element to be " "used for matching." ), EmbeddedInstance ( "CIM_ExportedFileShareSetting" )] string TemplateGoal, [IN ( false ), OUT, Description ( "This is an element of the " "CIM_ExportedFileShareSetting class, or a derived " "class, encoded as a string-valued embedded object " "parameter. It specifies the element that is " "returned as the best supported match to the " "TemplateGoal." ), EmbeddedInstance ( "CIM_ExportedFileShareSetting" )] string SupportedGoal); };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件