FormatModuleString Method
Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2
In Configuration Manager, the FormatModuleString method is used to load string resources out of the resource DLL.
[VBScript]
SMSFormatMessageCtl.FormatModuleString
Parameters
ModuleName
Data type: stringName of the module to load. The name can be Srvmsgs.dll, Provmsgs.dll, or Climmsgs.dll.
MessageID
Data type: intMessage ID " combined by using the bitwise OR operation with the severity.
InsertionStrings
Data type: objectOptional list of insertion strings.
Return Value
A string.
Remarks
FormatModuleString loads a string that is specified by MessageID from a string resource in the ModuleName module and inserts the supplied strings.
Requirements
FormatMessageCtl.dll.
Runtime Requirements
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.