Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Column.IdentitySeed Property

Gets or sets the identity seed for 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 long IdentitySeed { get; set; }

Property Value

Type: System.Int64
An Int32 value that specifies the identity seed for an identity column.

The identity seed is the amount that the identity column is set to initially for the first new row.

The Identity property must be set to True before setting this property.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.