AllowIdentity Property

UserDefinedDataType.AllowIdentity Property

 

Gets the Boolean property value that specifies whether the user-defined data type is able to participate in a column defined with the identity property.

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

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Matrix)]
public bool AllowIdentity { get; }

Property Value

Type: System.Boolean

A Boolean value that specifies whether the user-defined data type can participate in a column defined with the identity property.

If True, the user-defined data type can participate in an identity column.

If False (default), the user-defined data type cannot participate in an identity column.

Return to top
Show:
© 2016 Microsoft