UserDefinedDataType.Length Property


Gets or sets the number of characters in the user-defined data type.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.ReadOnlyAfterCreation | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Design)]
public int Length { get; set; }

Property Value

Type: System.Int32

An Int32 value that specifies the maximum number of characters permitted in the user-defined data type.

Return to top