#pragma autorecover #pragma namespace("\\\\.\\root\\Microsoft\\Windows\\SDNDiagnostics\\Server") instance of __namespace{ name="MS_804";}; #pragma namespace("\\\\.\\root\\Microsoft\\Windows\\SDNDiagnostics\\Server\\MS_804") [Description("类包含诊断信息") : Amended ToSubclass,AMENDMENT, LOCALE("MS_804")] class DiagnosticInfo { [Description("日志位置") : Amended ToSubclass] string LogLocation; [Description("用于访问日志位置的用户名") : Amended ToSubclass] string UserName; [Description("用于访问日志位置的密码") : Amended ToSubclass] string Password; [Description("日志大小的最大值") : Amended ToSubclass] uint32 LogSizeLimit; [Description("日志的老化限制") : Amended ToSubclass] uint32 LogTimeLimit; [Description("日志记录级别") : Amended ToSubclass,Values{"错误", "警告", "信息", "详细"} : Amended ToSubclass] sint8 LogLevel; [Description("设备类型") : Amended ToSubclass] uint32 DeviceType; [Description("节点 SDNCtlr 是否为主节点") : Amended ToSubclass] boolean IsSDNCtlrPrimaryNode; }; [Description("表示 sdn 日志管理的服务器提供程序函数") : Amended ToSubclass,AMENDMENT, LOCALE("MS_804")] class SDNDiagnostics { [Description("此方法用于在设备上启用跟踪") : Amended ToSubclass] uint32 Enable([In,Description("包含诊断信息的嵌入式实例。") : Amended ToSubclass] DiagnosticInfo DiagnosticInformation,[Out,Description("访问远程位置时出错") : Amended ToSubclass] uint32 ErrorCode,[Out,Description("在访问远程位置时,错误代码值发生更改") : Amended ToSubclass] boolean ChangeInErrorCode); [Description("此方法用于在设备上禁用跟踪") : Amended ToSubclass] uint32 Disable(); [Description("This methods updates providers list on NC Nodes if the tracing is enabled") : Amended ToSubclass] uint32 UpdateTraceProvidersList(); };