Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SqlUserDefinedTypeAttribute.IsFixedLength Property

Indicates whether all instances of this user-defined type are the same length.

Namespace:  Microsoft.SqlServer.Server
Assembly:  System.Data (in System.Data.dll)

public bool IsFixedLength { get; set; }

Property Value

Type: System.Boolean
true if all instances of this type are the same length; otherwise false.

If set to true, all instances of UDTs corresponding to this common language runtime (CLR) type must have a length in bytes exactly equal to MaxByteSize. This attribute is only relevant for UDTs with UserDefined serialization Format.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft