Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SqlUserDefinedTypeAttribute Constructor

SqlUserDefinedTypeAttribute Constructor

A required attribute on a user-defined type (UDT), used to confirm that the given type is a UDT and to indicate the storage format of the UDT.

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

new : 
        format:Format -> SqlUserDefinedTypeAttribute

Parameters

format
Type: Microsoft.SqlServer.Server.Format

One of the Format values representing the serialization format of the type.

The following example specifies that the Format of the user-defined type is SerializedDataWithMetadataand theMaxByteSize is 8000 bytes.

No code example is currently available or this language may not be supported.

.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
Show:
© 2015 Microsoft