This project is read-only.


Set-SCSMObject/New-SCSMObject fails on class with nvarchar(max) field


I have a class with a string property where max length is 65536 (i.e., nvarchar(max) in the database). When I try to update or insert into this field a character string with length > 65536, I get the error:

"The specified value did not conform to the maximum length requirements".
Closed Jul 9, 2015 at 11:43 PM by FreemanRU


FreemanRU wrote Jul 9, 2015 at 11:43 PM

This is correct behavior. You can't set string longer than supported by this property

wrote Jul 9, 2015 at 11:43 PM