The SMS Provider, in System Center 2012 R2 Configuration Manager, places restrictions on the width of character fields for schema classes. If you write a program that writes to these classes, you should take these field widths into account. Where they are used in the user interface, the Configuration Manager online Help provides the maximum character widths. You can also determine the width by dividing the corresponding schema class table column width by two to give the field width in characters.
You can determine the schema class table column width from the corresponding SQL Server views. For information about mapping schema classes to SQL Server views, see Configuration Manager Schema View Mapping. The steps for obtaining the table column width from the SQL Server view in Microsoft SQL Server are:
- Open the properties of the SQL Server view to see which
table and table columns it uses.
- Open the corresponding table in the database tables view to
discover the column width.
Classes that are commonly affected by this restriction are: