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.

Return to top
Show: