UserDefinedTableType.MaxLength Property
SQL Server 2012
Gets the maximum length in bytes for a column in the table.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
