TechNet
Export (0) Print
Expand All

Column.Identity Property

 

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)]
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
Show:
© 2016 Microsoft