Column.IdentityIncrement Property


Gets or sets the identity increment 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 IdentityIncrement { get; set; }

Property Value

Type: System.Int64

An Int32 value that specifies the identity increment.

The identity increment is the amount that the identity column increases for each new row.

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

Return to top