Export (0) Print
Expand All

Column.Identity Property

 

Applies To: SQL Server 2016 Preview

Gets or sets the Boolean property value that specifies whether the column is an identity column.

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 | SfcPropertyFlags.Matrix)]
public bool Identity { get; set; }

Property Value

Type: System.Boolean

A Boolean value that specifies the whether the column is an identity column.

If True, the column is an identity column. Otherwise, False (default).

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft